giraph-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Alexandre Fonseca <>
Subject Re: Steps for Giraph on hadoop-2.2.0 Cluster
Date Mon, 10 Mar 2014 10:11:57 GMT
Hello Vishal,

I've run it successfully in hadoop-2.2.0 with both MR2 and Yarn computations.

For MR2, you just have to compile Giraph with the new hadoop_2 profile and then 
it should work with no problems using the commands shown in the Giraph 

For Yarn, compile with the hadoop_yarn profile and the application submission 
command follows the following template (replace variables with your particular 


org.apache.giraph.examples.SimpleShortestPathsComputation -vif -vip 
/user/alex/input/tiny_graph.txt -vof -op 
/user/alex/output/shortestpaths -w 1 -yj $GIRAPH_JAR_NAME

If you don't want to compile things yourself, the in which I'm 
working at the moment provides, among other things, pre-compiled versions of 
giraph straight from trunk for the major targets integrated with some machine 
learning algorithms. You can check the download page here:

We also have a configuration tool that should make it easy to find the exact 
command to run different algorithms (including most of Giraph examples):

Hopefully this should be sufficient for you to successfully run Giraph in 2.2.0.

Best regards,

On Sunday, March 09, 2014 08:59:32 PM Vishal Mishra wrote:
> Hi Guys,
> I tried giraph on hadoop-2.2.0 cluster a few months back without success
> and moved onto other pressing issues but would really love to try out again.
> Has anyone been able to run giraph successfully on a hadoop-2.2.0 cluster?
> if yes, I'd really appreciate it if you can share the steps to run the
> "SimplePageRankComputation" example.
> If not, please share the steps, I'd give it a try and provide any required
> logs for debugging.
> Our setup (works for our regular hadoop/hive jobs):
> - ubuntu 13.10
> - 1 namenode & resourcemanager. + zookeeper
> - 3 datanode & nodemanager
> Thanx,
> Vishal

View raw message