Hi,

This does not seem to be a dependecy issue . This is an exception in launch
of the container. Can you check the yarn configurations.

Thanks,
Ramesh


On Sun, May 22, 2016 at 9:52 PM, Rahman, Muntasir Raihan <
mrahm...@illinois.edu> wrote:

> Thanks for the suggestion, but unfortunately it didn’t fix the issue.
>
>
>
> Muntasir.
>
>
>
> *From:* Ravikant Dindokar [mailto:ravikant.i...@gmail.com]
> *Sent:* Sunday, May 22, 2016 3:37 AM
> *To:* user@giraph.apache.org
> *Subject:* Re: container failure while running Giraph Shortest Path on
> Yarn
>
>
>
> try adding
>
> -libjars
> giraph-core/target/giraph-1.1.0-for-hadoop-2.7.0-jar-with-dependencies.jar
> after org.apache.giraph.GiraphRunner
>
>
>
>
> On Sat, May 21, 2016 at 4:21 AM, Rahman, Muntasir Raihan <
> mrahm...@illinois.edu> wrote:
>
> Hi,
>
>
>
> I have been trying to run some Giraph programs on top of Yarn, but I keep
> getting the following error:
>
>
>
> “Container id: container_1463763127358_0002_01_000003
>
> Exit code: 2
>
> Stack trace: ExitCodeException exitCode=2:
>
>         at org.apache.hadoop.util.Shell.runCommand(Shell.java:545)
>
>         at org.apache.hadoop.util.Shell.run(Shell.java:456)
>
>         at
> org.apache.hadoop.util.Shell$ShellCommandExecutor.execute(Shell.java:722)
>
>         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: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:745)
>
>
>
>
>
> Container exited with a non-zero exit code 2
>
> ”
>
>
>
> I ran the following command:
>
>
>
> “$HADOOP_HOME/bin/hadoop jar
> giraph-examples/target/giraph-examples-1.1.0-for-hadoop-2.7.0-jar-with-dependencies.jar
> org.apache.giraph.GiraphRunner 
> org.apache.giraph.examples.SimpleShortestPathsComputation
> -vif
> org.apache.giraph.io.formats.JsonLongDoubleFloatDoubleVertexInputFormat
> -vip <inputPath> -vof
> org.apache.giraph.io.formats.IdWithValueTextOutputFormat -op <outputPath>
> -w 1 -yj giraph-examples-1.1.0-for-hadoop-2.7.0-jar-with-dependencies.jar”
>
>
>
>
>
> Are there any suggestions or hints to fix this?
>
>
>
> Regards
>
> Muntasir.
>
>
>

Reply via email to