merge -r 1308975:1308976 from trunk. FIXES: MAPREDUCE-4012

git-svn-id: https://svn.apache.org/repos/asf/hadoop/common/branches/branch-2@1308985 13f79535-47bb-0310-9956-ffa450edef68
This commit is contained in:
Thomas Graves 2012-04-03 15:39:35 +00:00
parent 463a8ca9a5
commit ef5ca103f6
2 changed files with 5 additions and 1 deletions

View File

@ -124,6 +124,9 @@ Release 0.23.3 - UNRELEASED
MAPREDUCE-3983. TestTTResourceReporting can fail, and should just be
deleted (Ravi Prakash via bobby)
MAPREDUCE-4012 Hadoop Job setup error leaves no useful info to users
(when LinuxTaskController is used). (tgraves)
Release 0.23.2 - UNRELEASED
INCOMPATIBLE CHANGES

View File

@ -172,7 +172,8 @@ public void startLocalizer(Path nmPrivateContainerTokensPath,
int exitCode = shExec.getExitCode();
LOG.warn("Exit code from container is : " + exitCode);
logOutput(shExec.getOutput());
throw new IOException("App initialization failed (" + exitCode + ")", e);
throw new IOException("App initialization failed (" + exitCode +
") with output: " + shExec.getOutput(), e);
}
}