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

(cherry picked from commit 486d5cb803)
This commit is contained in:
Varun Vasudev 2015-09-11 14:37:10 +05:30
parent d5823452b9
commit a4288f1262
2 changed files with 5 additions and 1 deletions

View File

@ -837,6 +837,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 class LinuxContainerExecutor extends ContainerExecutor {
}
} catch (ResourceHandlerException e) {
LOG.error("ResourceHandlerChain.preStart() failed!", e);
throw new IOException("ResourceHandlerChain.preStart() failed!");
throw new IOException("ResourceHandlerChain.preStart() failed!", e);
}
try {