YARN-4136. LinuxContainerExecutor loses info when forwarding ResourceHandlerException. Contributed by Bibin A Chundatt.
Project: http://git-wip-us.apache.org/repos/asf/hadoop/repo Commit: http://git-wip-us.apache.org/repos/asf/hadoop/commit/486d5cb8 Tree: http://git-wip-us.apache.org/repos/asf/hadoop/tree/486d5cb8 Diff: http://git-wip-us.apache.org/repos/asf/hadoop/diff/486d5cb8 Branch: refs/heads/HADOOP-11890 Commit: 486d5cb803efec7b4db445ee65a3df83392940a3 Parents: f103a70 Author: Varun Vasudev <vvasu...@apache.org> Authored: Fri Sep 11 14:37:10 2015 +0530 Committer: Varun Vasudev <vvasu...@apache.org> Committed: Fri Sep 11 14:37:48 2015 +0530 ---------------------------------------------------------------------- hadoop-yarn-project/CHANGES.txt | 4 ++++ .../hadoop/yarn/server/nodemanager/LinuxContainerExecutor.java | 2 +- 2 files changed, 5 insertions(+), 1 deletion(-) ---------------------------------------------------------------------- http://git-wip-us.apache.org/repos/asf/hadoop/blob/486d5cb8/hadoop-yarn-project/CHANGES.txt ---------------------------------------------------------------------- diff --git a/hadoop-yarn-project/CHANGES.txt b/hadoop-yarn-project/CHANGES.txt index 5a706a3..cc833e2 100644 --- a/hadoop-yarn-project/CHANGES.txt +++ b/hadoop-yarn-project/CHANGES.txt @@ -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 http://git-wip-us.apache.org/repos/asf/hadoop/blob/486d5cb8/hadoop-yarn-project/hadoop-yarn/hadoop-yarn-server/hadoop-yarn-server-nodemanager/src/main/java/org/apache/hadoop/yarn/server/nodemanager/LinuxContainerExecutor.java ---------------------------------------------------------------------- diff --git a/hadoop-yarn-project/hadoop-yarn/hadoop-yarn-server/hadoop-yarn-server-nodemanager/src/main/java/org/apache/hadoop/yarn/server/nodemanager/LinuxContainerExecutor.java b/hadoop-yarn-project/hadoop-yarn/hadoop-yarn-server/hadoop-yarn-server-nodemanager/src/main/java/org/apache/hadoop/yarn/server/nodemanager/LinuxContainerExecutor.java index 0670d95..0a51301 100644 --- a/hadoop-yarn-project/hadoop-yarn/hadoop-yarn-server/hadoop-yarn-server-nodemanager/src/main/java/org/apache/hadoop/yarn/server/nodemanager/LinuxContainerExecutor.java +++ b/hadoop-yarn-project/hadoop-yarn/hadoop-yarn-server/hadoop-yarn-server-nodemanager/src/main/java/org/apache/hadoop/yarn/server/nodemanager/LinuxContainerExecutor.java @@ -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 {