Hi Alex,
I think the output you pasted is from the application-master.log. Can you
send the link to the container logs? specifically, logs for container -
container_1445285902612_0001_01_000007

If a job fails in Yarn, the working directory usually gets deleted by NM's
deletion service, unless you add a property - "
*yarn.nodemanager.delete.debug-delay-sec*" to yarn-site.xml.
This property indicates how long to keep the working directory of a failed
yarn job. If you add this property with a value > 0, then you should be
able to find your container logs as well.
The container logs will have further details on the cause of the failure.

Please give it a try and share your log output.

HTH,
Navina


On Tue, Oct 20, 2015 at 11:31 AM, Alexander Filipchik <afilipc...@gmail.com>
wrote:

> Hi,
>
> I was trying to deploy samza hello app on my Ubuntu 15.04. All script
> executed fine, but when I submitted the first job to the Yarn it died with:
> Stack trace:
>
>   2015-10-19 13:19:58 SamzaTaskManager [INFO] Container
> container_1445285902612_0001_01_000007 failed with exit code 1 -
> Exception from container-launch.
>     Container id: container_1445285902612_0001_01_000007
>     Exit code: 1
>     Stack trace: ExitCodeException exitCode=1:
>         at org.apache.hadoop.util.Shell.runCommand(Shell.java:538)
>         at org.apache.hadoop.util.Shell.run(Shell.java:455)
>         at
> org.apache.hadoop.util.Shell$ShellCommandExecutor.execute(Shell.java:715)
>         at
> org.apache.hadoop.yarn.server.nodemanager.DefaultContainerExecutor.launchContainer(DefaultContainerExecutor.java:211)
>         at
> org.apache.hadoop.yarn.server.nodemanager.containermanager.launcher.ContainerLaunch.call(ContainerLaunch.java:302)
>         at
> org.apache.hadoop.yarn.server.nodemanager.containermanager.launcher.ContainerLaunch.call(ContainerLaunch.java:82)
>         at java.util.concurrent.FutureTask.run(FutureTask.java:266)
>         at
> java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1142)
>         at
> java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:617)
>         at java.lang.Thread.run(Thread.java:745)
>
> Container exited with a non-zero exit code 1
>
> stderr:
>
>     Picked up JAVA_TOOL_OPTIONS: -javaagent:/usr/share/java/jayatanaag.jar
>     java version "1.8.0_60"
>     Java(TM) SE Runtime Environment (build 1.8.0_60-b27)
>     Java HotSpot(TM) 64-Bit Server VM (build 25.60-b23, mixed mode)
>     Picked up JAVA_TOOL_OPTIONS: -javaagent:/usr/share/java/jayatanaag.jar
>
>
> Can't find anything obvious in the logs. Does someone experience it before?
>
> Thank you,
> Alex
>



-- 
Navina R.

Reply via email to