Re: GiraphApplicationMaster not found (WAS: Giraph and Hadoop 2.2.0)

2013-12-09 Thread Alexandre Fonseca
Hello Vishal, Cross-posting from a different mailing list thread with the steps that allowed me to compile and run SimpleShortestPaths on a pure-yarn cluster. Hope it works for you too :) I was able to compile and run Giraph 1.1.0-SNAPSHOT on top of hadoop-2.2.0. Here's what I did:

Which partition scheme is used by default in giraph 1.0?

2013-12-09 Thread Yi Lu
Hi, I have a question on load balance in giraph. How does giraph to load data if only VertexInputFormat is used? By hash on vertex id, or range based? Thank you. -Yi

Re: Which partition scheme is used by default in giraph 1.0?

2013-12-09 Thread Sebastian Schelter
By hash on vertex id. On 09.12.2013 11:01, Yi Lu wrote: Hi, I have a question on load balance in giraph. How does giraph to load data if only VertexInputFormat is used? By hash on vertex id, or range based? Thank you. -Yi

Re: Issue while executing SimpleShortestPathsComputation

2013-12-09 Thread Rohit Bhat
Hi Eli/Alexandre, I have tried with Giraph-1.1.0-SNAPSHOT and hadoop-2.2.0 as well using the steps mentioned by Alexandre, but again i am getting the same error while running the example: Command: $HADOOP_HOME/bin/hadoop jar

Re: Issue while executing SimpleShortestPathsComputation

2013-12-09 Thread Alexandre Fonseca
Hi Rohit, In my case, I got 2 Shell$ExitCodeExceptions when trying to run the SimpleShortestPathsComputation: - Error: Could not find or load main class org.apache.giraph.yarn.GiraphApplicationMaster This was solved by adding -yj giraph-examples-1.1.0-SNAPSHOT-for-

Re: Issue while executing SimpleShortestPathsComputation

2013-12-09 Thread Rohit Bhat
Hi Alexandre, I looked into the logs and found this: 2013-12-09 12:29:08,925 INFO [main] yarn.GiraphApplicationMaster (GiraphApplicationMaster.java:main(426)) - Starting GitaphAM 2013-12-09 12:29:09,727 WARN [main] util.NativeCodeLoader (NativeCodeLoader.java:clinit(62)) - Unable to load

Re: Issue while executing SimpleShortestPathsComputation

2013-12-09 Thread Vishal Mishra
Tried the steps (one variation was 'clean package' instead of 'compile' since a dependency check was failing) provided by Alexandre and hitting the same error as Rohit. Note that I'm attempting on a cluster. Cmdline: hadoop jar

Re: Issue while executing SimpleShortestPathsComputation

2013-12-09 Thread Alexandre Fonseca
When you execute the job, one of the INFO lines should state the environment used for the launching of the ApplicationMaster. In my case, it looks something like this: 13/12/09 21:54:56 INFO yarn.GiraphYarnClient: Environment for AM : {CLASSPATH=${CLASSPATH}:./*:$HADOOP_CONF_DIR:

Re: Issue while executing SimpleShortestPathsComputation

2013-12-09 Thread Alexandre Fonseca
I have confirmed a bug in Giraph's YARN code related to the default MapReduce configuration. Either provide your own mapreduce.application.classpath in mapred-site.xml or apply the patch described here: https://issues.apache.org/jira/browse/GIRAPH-814 Application runs successfully if using