Wang Xu created GIRAPH-672:
------------------------------

             Summary: SSP example run with error result
                 Key: GIRAPH-672
                 URL: https://issues.apache.org/jira/browse/GIRAPH-672
             Project: Giraph
          Issue Type: Bug
          Components: examples
    Affects Versions: 1.0.0
            Reporter: Wang Xu
            Priority: Minor


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


--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira

Reply via email to