Skip to content

udand/Giraph_project

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

2 Commits
 
 
 
 

Repository files navigation

Giraph_project

Project includes Giraph 0.1 library. which is compiled with maven on Apache Giraph release version 0.1 compiled with hadoop version 1.2.0 to run on old hadoop version.

Included the shortest path algorithm code from giraph examples.

sample input data. [0,0,[[1,1],[3,3]]] [1,0,[[0,1],[2,2],[3,1]]] [2,0,[[1,2],[4,4]]] [3,0,[[0,3],[1,1],[4,4]]] [4,0,[[3,4],[2,4]]]

To run this project you need to type following command.

giraph-0.1-jar-with-dependencies.jar library contains the Shoretest path code.

hadoop jar giraph-0.1-jar-with-dependencies.jar org.apache.giraph.examples.SimpleShortestPathsVertex /user/uxd120330/ginput/tiny_graph.txt /user/uxd120330/goutput/shoretestPathc2 0 3

hadoop fs -cat /user/uxd120330/goutput/shoretestPathc2/part*

About

Shorting Algorithm using the Apache giraph library

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages