YARN-4136. LinuxContainerExecutor loses info when forwarding ResourceHandlerException. Contributed by Bibin A Chundatt.

This commit is contained in:
Varun Vasudev 2015-09-11 14:37:10 +05:30
parent f103a70af5
commit 486d5cb803
2 changed files with 5 additions and 1 deletions

View File

@ -889,6 +889,10 @@ Release 2.7.2 - UNRELEASED
YARN-4096. App local logs are leaked if log aggregation fails to initialize
for the app. (Jason Lowe via zxu)
YARN-4136. LinuxContainerExecutor loses info when forwarding
ResourceHandlerException. (Bibin A Chundatt via vvasudev)
Release 2.7.1 - 2015-07-06
INCOMPATIBLE CHANGES

View File

@ -340,7 +340,7 @@ public int launchContainer(ContainerStartContext ctx) throws IOException {
}
} catch (ResourceHandlerException e) {
LOG.error("ResourceHandlerChain.preStart() failed!", e);
throw new IOException("ResourceHandlerChain.preStart() failed!");
throw new IOException("ResourceHandlerChain.preStart() failed!", e);
}
try {