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