samza-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Alexander Filipchik <afilipc...@gmail.com>
Subject Re: How to deploy Hello Samza app on ubuntu 15.04?
Date Tue, 20 Oct 2015 19:41:13 GMT
Hi,

Thank you for a prompt response! I updated yarn config and gathered some
logs. See attached.

Alex


On Tue, Oct 20, 2015 at 12:17 PM, Navina Ramesh <
nramesh@linkedin.com.invalid> wrote:

> 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 <
> afilipchik@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.
>

Mime
View raw message