I have been working on giraph from last 10 days.I got the ideas how to install and execute the given examples in Giraph. But I want to design my own custom code,so i need some help of you.If anyone is done with this please let me know and give some idea.
What you need is to create a new project, a package foo and a class foo1 in that package. this project must reference to giraph-core jar files. class foo1 must extends class AbstractComputation. You should override compute function of AbstractComputation. In the compute function you will develop your own graph algorithm based on vertex-oriented paradigm.
For more information about how to implement your own algorithm, you can examples provided in giraph-examples package of giraph like SimpleConnectedComponents.java and SingleSourceShortestPaths.java.
After you implement foo1, you should create a jar file from your project and pass this jar file into your command using -libjars parameter.