YARN-5991. Yarn Distributed Shell does not print throwable t to App Master When failed to start container (Contributed by Jim Frankola via Daniel Templeton)
Project: http://git-wip-us.apache.org/repos/asf/hadoop/repo Commit: http://git-wip-us.apache.org/repos/asf/hadoop/commit/71a4acf7 Tree: http://git-wip-us.apache.org/repos/asf/hadoop/tree/71a4acf7 Diff: http://git-wip-us.apache.org/repos/asf/hadoop/diff/71a4acf7 Branch: refs/heads/HADOOP-13345 Commit: 71a4acf74bc9ca34f0e57835c9d6e3efbe7c0567 Parents: 2977bc6 Author: Daniel Templeton <templ...@apache.org> Authored: Fri Jan 6 14:26:08 2017 -0800 Committer: Daniel Templeton <templ...@apache.org> Committed: Fri Jan 6 14:26:08 2017 -0800 ---------------------------------------------------------------------- .../yarn/applications/distributedshell/ApplicationMaster.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) ---------------------------------------------------------------------- http://git-wip-us.apache.org/repos/asf/hadoop/blob/71a4acf7/hadoop-yarn-project/hadoop-yarn/hadoop-yarn-applications/hadoop-yarn-applications-distributedshell/src/main/java/org/apache/hadoop/yarn/applications/distributedshell/ApplicationMaster.java ---------------------------------------------------------------------- diff --git a/hadoop-yarn-project/hadoop-yarn/hadoop-yarn-applications/hadoop-yarn-applications-distributedshell/src/main/java/org/apache/hadoop/yarn/applications/distributedshell/ApplicationMaster.java b/hadoop-yarn-project/hadoop-yarn/hadoop-yarn-applications/hadoop-yarn-applications-distributedshell/src/main/java/org/apache/hadoop/yarn/applications/distributedshell/ApplicationMaster.java index 17dae6b..5a06ef6 100644 --- a/hadoop-yarn-project/hadoop-yarn/hadoop-yarn-applications/hadoop-yarn-applications-distributedshell/src/main/java/org/apache/hadoop/yarn/applications/distributedshell/ApplicationMaster.java +++ b/hadoop-yarn-project/hadoop-yarn/hadoop-yarn-applications/hadoop-yarn-applications-distributedshell/src/main/java/org/apache/hadoop/yarn/applications/distributedshell/ApplicationMaster.java @@ -1001,7 +1001,7 @@ public class ApplicationMaster { @Override public void onStartContainerError(ContainerId containerId, Throwable t) { - LOG.error("Failed to start Container " + containerId); + LOG.error("Failed to start Container " + containerId, t); containers.remove(containerId); applicationMaster.numCompletedContainers.incrementAndGet(); applicationMaster.numFailedContainers.incrementAndGet(); --------------------------------------------------------------------- To unsubscribe, e-mail: common-commits-unsubscr...@hadoop.apache.org For additional commands, e-mail: common-commits-h...@hadoop.apache.org