Not sure where the containers dump standard out /error to?  I figured it would 
be propagated in the node manager logs if anywhere, right?

Sent from my iPhone

> On Feb 14, 2014, at 4:46 AM, Harsh J <ha...@cloudera.com> wrote:
> 
> Hi,
> 
> Does your container command generate any stderr/stdout outputs that
> you can check under the container's work directory after it fails?
> 
>> On Fri, Feb 14, 2014 at 9:46 AM, Jay Vyas <jayunit...@gmail.com> wrote:
>> I have a linux container that dies.  The nodemanager logs only say:
>> 
>> WARN org.apache.hadoop.yarn.server.nodemanager.LinuxContainerExecutor:
>> Exception from container-launch :
>> org.apache.hadoop.util.Shell$ExitCodeException:
>>   at org.apache.hadoop.util.Shell.runCommand(Shell.java:202)
>>   at org.apache.hadoop.util.Shell.run(Shell.java:129)
>>   at
>> org.apache.hadoop.util.Shell$ShellCommandExecutor.execute(Shell.java:322)
>>   at
>> org.apache.hadoop.yarn.server.nodemanager.LinuxContainerExecutor.launchContainer(LinuxContainerExecutor.java:230)
>>   at
>> org.apache.hadoop.yarn.server.nodemanager.containermanager.launcher.ContainerLaunch.call(ContainerLaunch.java:242)
>>   at
>> org.apache.hadoop.yarn.server.nodemanager.containermanager.launcher.ContainerLaunch.call(ContainerLaunch.java:68)
>>   at java.util.concurrent.FutureTask$Sync.innerRun(FutureTask.java:303)
>>   at java.util.concurrent.FutureTask.run(FutureTask.java:138)
>>   at
>> java.util.concurrent.ThreadPoolExecutor$Worker.runTask(ThreadPoolExecutor.java:886)
>>   at
>> java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:908)
>>   at java.lang.Thread.run(Thread.java:662)
>> 
>> where can i find the root cause of the non-zero exit code ?
>> 
>> --
>> Jay Vyas
>> http://jayunit100.blogspot.com
> 
> 
> 
> -- 
> Harsh J

Reply via email to