giraph-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Kiru Pakkirisamy <>
Subject Re: issues while running giraph on Hadoop 2.2
Date Fri, 16 May 2014 02:56:06 GMT
I have the same issue running giraph built with -Phadoop_yarn -Dhadoop.version=2.2.0 on Hortonworks.
I get classnotfoundexceptions, looks like the GiraphRunner may not be able to load the classes
correctly while running on Yarn.
So if anybody has had success please share your experience, wondering what I have been doing

Exception in thread "main" java.lang.ClassNotFoundException: org.apache.giraph.examples.SimpleShortestPathsComputation

- kiru

 From: yeshwanth kumar <>
To: "" <> 
Sent: Thursday, May 8, 2014 4:47 AM
Subject: issues while running giraph on Hadoop 2.2

hi i am running Hortonworks hadoop 2.2
trying to run giraph shortest path example.
i am getting this exception

$ hadoop jar giraph-examples/target/giraph-examples-1.1.0-SNAPSHOT-for-hadoop-2.2.0-jar-with-dependencies.jar
org.apache.giraph.GiraphRunner org.apache.giraph.examples.SimpleShortestPathsComputation -vif -vip /user/hdfs/input/tiny.txt
-vof -op /user/hdfs/output/shortestpaths
-w 1
14/05/07 23:45:42 INFO utils.ConfigurationUtils: No edge input format specified. Ensure your
InputFormat does not require one.
14/05/07 23:45:42 INFO utils.ConfigurationUtils: No edge output format specified. Ensure your
OutputFormat does not require one.
14/05/07 23:45:42 INFO yarn.GiraphYarnClient: Final output path is: hdfs://server02.infnet:8020/user/hdfs/output/shortestpaths
14/05/07 23:45:42 INFO yarn.GiraphYarnClient: Running Client
14/05/07 23:45:42 INFO client.RMProxy: Connecting to ResourceManager at server02.infnet/
14/05/07 23:45:42 INFO yarn.GiraphYarnClient: Defaulting per-task heap size to 1024MB.
Exception in thread "main" java.lang.IllegalStateException: Giraph's estimated cluster heap
2048MB ask is greater than the current available cluster heap of 0MB. Aborting Job.
at org.apache.giraph.yarn.GiraphYarnClient.checkPerNodeResourcesAvailable(
at org.apache.giraph.GiraphRunner.main(
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(
at sun.reflect.DelegatingMethodAccessorImpl.invoke(
at java.lang.reflect.Method.invoke(
at org.apache.hadoop.util.RunJar.main(

i am missing some configuration, can someone point me in the right direction.

View raw message