giraph-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Ramesh Krishnan <ramesh.154...@gmail.com>
Subject Re: container failure while running Giraph Shortest Path on Yarn
Date Sun, 22 May 2016 15:25:59 GMT
Hi ,

Container Launch exception happens usually because of either dependency
missing  issues  or an actual error while launching a container. The best
way to know the error accurately is to look at the YARN logs very
precisely. Can you put the last 200 lines of the yarn logs for the
corresponding application id.

Thanks,
Ramesh

On Sun, May 22, 2016 at 2:07 PM, Ravikant Dindokar <ravikant.iisc@gmail.com>
wrote:

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

Mime
View raw message