hadoop-common-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Harsh J <ha...@cloudera.com>
Subject Re: How to ascertain why LinuxContainer dies?
Date Fri, 14 Feb 2014 09:46:53 GMT
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 <jayunit100@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

Mime
View raw message