[
https://issues.apache.org/jira/browse/HADOOP-10312?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13886610#comment-13886610
]
Steve Loughran commented on HADOOP-10312:
-----------------------------------------
Example
{code}
2014-01-30 14:20:12,042 [AMRM Callback Handler Thread] INFO HoyaAppMaster.yarn
(HoyaAppMaster.java:onContainersCompleted(839)) - Container Completion for
containerID=container_1391075472386_0004_01_000032, state=COMPLETE,
exitStatus=1, diagnostics=Exception from container-launch:
org.apache.hadoop.util.Shell$ExitCodeException:
org.apache.hadoop.util.Shell$ExitCodeException:
at org.apache.hadoop.util.Shell.runCommand(Shell.java:505)
at org.apache.hadoop.util.Shell.run(Shell.java:418)
at
org.apache.hadoop.util.Shell$ShellCommandExecutor.execute(Shell.java:650)
at
org.apache.hadoop.yarn.server.nodemanager.DefaultContainerExecutor.launchContainer(DefaultContainerExecutor.java:195)
at
org.apache.hadoop.yarn.server.nodemanager.containermanager.launcher.ContainerLaunch.call(ContainerLaunch.java:283)
at
org.apache.hadoop.yarn.server.nodemanager.containermanager.launcher.ContainerLaunch.call(ContainerLaunch.java:79)
at java.util.concurrent.FutureTask.run(FutureTask.java:262)
at
java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1145)
at
java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:615)
at java.lang.Thread.run(Thread.java:744)
{code}
it failed, but it's not obvious why
> Shell.ExitCodeException to have more useful toString
> ----------------------------------------------------
>
> Key: HADOOP-10312
> URL: https://issues.apache.org/jira/browse/HADOOP-10312
> Project: Hadoop Common
> Issue Type: Bug
> Affects Versions: 2.4.0
> Reporter: Steve Loughran
> Priority: Minor
>
> Shell's ExitCodeException doesn't include the exit code in the toString
> value, so isn't that useful in diagnosing container start failures in YARN
--
This message was sent by Atlassian JIRA
(v6.1.5#6160)