Details
-
Bug
-
Status: Open
-
Minor
-
Resolution: Unresolved
-
1.0.0
-
None
-
None
Description
In ShortestPath example, my input data is :(just edge input data)
1\t\3\11
1\t\5\12
I run:
hadoop jar giraph-examples-1.0.0-for-hadoop-2.0.0-cdh4.1.2-jar-with-dependencies.jar org.apache.giraph.GiraphRunner org.apache.giraph.examples.SimpleShortestPathsVertex -eif org.apache.giraph.io.formats.LongFloatTextEdgeInputFormat -of org.apache.giraph.io.formats.IdWithValueTextOutputFormat -eip /shortestPathsInputGraph -op /output-tmp/sp-37 -w 1 -ca SimpleShortestPathsVertex.sourceId=1 -ca giraph.zkList=dlxa107:2181
Result is hadoop fs -cat /output-tmp/sp-37/*)
5 0.0
1 0.0
3 0.0
Then i modify input dataļ¼(just edge input data)
1\t\3\11
1\t\5\12
3\t\3\0
5\t\5\0
correct output:
5 12.0
1 0.0
3 11.0