Uploaded image for project: 'Giraph'
  1. Giraph
  2. GIRAPH-672

SSP example run with error result

    XMLWordPrintableJSON

    Details

    • Type: Bug
    • Status: Open
    • Priority: Minor
    • Resolution: Unresolved
    • Affects Version/s: 1.0.0
    • Fix Version/s: None
    • Component/s: examples
    • Labels:
      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

        Attachments

          Activity

            People

            • Assignee:
              Unassigned
              Reporter:
              realwangx Wang Xu
            • Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

              Dates

              • Created:
                Updated: