giraph-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Jyoti Yadav <>
Subject Re: help in compiling
Date Sun, 30 Mar 2014 17:29:02 GMT
Hi Nishant....
Steps to compile your own program in giraph...
1. write your java  program to be executed..
2. Save the program in giraph-examples directory.
3. in command prompt,type cd $GIRAPH_HOME
then cd giraph-examples
then type mvn compile
Using above command to compile,your program will be compiled..
To run the program

hadoop jar $GIRAPH_HOME/giraph-examples/target/giraph-examples-1.1.0-SNAPSHOT-for-hadoop-
org.apache.giraph.examples.your_program_name -vif
-vip /user/hduser/input/tiny_graph.txt -of -op
/user/hduser/output/shortestpaths -w 1

Hope this will work for u..

On Sun, Mar 30, 2014 at 4:07 PM, nishant gandhi

> I recently shifted my work on giraph. I ran already available example but
> not able to run my own code. can you suggest something what i should be
> missing? I normally get error of ClassNotFound while compiling even though
> i give classpath of giraph-core.jar and hadoop-core.jar while compiling..
> Let me know if any book or tutorial series avilable for giraph..

View raw message