Merge -c 1186552 from trunk to branch-0.23 to complete fix for MAPREDUCE-3179.

git-svn-id: https://svn.apache.org/repos/asf/hadoop/common/branches/branch-0.23@1186553 13f79535-47bb-0310-9956-ffa450edef68
This commit is contained in:
Arun Murthy 2011-10-19 22:55:07 +00:00
parent 68bea3dc46
commit 2115478185
2 changed files with 6 additions and 1 deletions

View File

@ -1649,6 +1649,9 @@ Release 0.23.0 - Unreleased
MAPREDUCE-3212. Fix usage/help message for bin/yarn. (Bhallamudi Venkata
Siva Kamesh via acmurthy)
MAPREDUCE-3179. Ensure failed tests exit with right error code. (Jonathan
Eagles via acmurthy)
Release 0.22.0 - Unreleased
INCOMPATIBLE CHANGES

View File

@ -107,11 +107,13 @@ public class MapredTestDriver {
}
public void run(String argv[]) {
int exitCode = -1;
try {
pgd.driver(argv);
exitCode = pgd.driver(argv);
} catch(Throwable e) {
e.printStackTrace();
}
System.exit(exitCode);
}
public static void main(String argv[]){