Uploaded image for project: 'Giraph (Retired)'
  1. Giraph (Retired)
  2. GIRAPH-1186

Quickstart Single node mode, cannot correctly finish the shortestpath task.

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Open
    • Major
    • Resolution: Unresolved
    • 1.2.0
    • None
    • documentation, examples
    • None
    • Ubuntu 16.04

      java 1.7

      Giraph version: The latest one.

      Hadoop version: The one required in the tutorial.

    Description

      I am following the guidance of the quickstart. But when I go to this step:

       

      $HADOOP_HOME/bin/hadoop jar $GIRAPH_HOME/giraph-examples/target/giraph-examples-1.2.0-SNAPSHOT-for-hadoop-0.20.203.0-jar-with-dependencies.jar org.apache.giraph.GiraphRunner org.apache.giraph.examples.SimpleShortestPathsComputation -vif org.apache.giraph.io.formats.JsonLongDoubleFloatDoubleVertexInputFormat -vip /user/hduser/input/tiny_graph.txt -vof org.apache.giraph.io.formats.IdWithValueTextOutputFormat -op /user/hduser/output/shortestpaths -w 1

       

      I cannot successfully finish the task. The exception is like this:

       hduser@ubuntu:/usr/local/giraph/giraph-examples/target$ $HADOOP_HOME/bin/hadoop jar /usr/local/giraph/giraph-examples/target/giraph-examples-1.3.0-SNAPSHOT-for-hadoop-1.2.1-jar-with-dependencies.jar org.apache.giraph.GiraphRunner org.apache.giraph.examples.SimpleShortestPathsComputation -vif org.apache.giraph.io.formats.JsonLongDoubleFloatDoubleVertexInputFormat -vip /user/hduser/input/tiny_graph.txt -vof org.apache.giraph.io.formats.IdWithValueTextOutputFormat -op /user/hduser/output/shortestpaths -w 1
      18/04/09 16:17:35 INFO utils.ConfigurationUtils: No edge input format specified. Ensure your InputFormat does not require one.
      18/04/09 16:17:35 INFO utils.ConfigurationUtils: No edge output format specified. Ensure your OutputFormat does not require one.
      18/04/09 16:17:35 INFO job.GiraphJob: run: Since checkpointing is disabled (default), do not allow any task retries (setting mapred.map.max.attempts = 1, old value = 4)
      18/04/09 16:17:36 INFO job.GiraphJob: Tracking URL: http://ubuntu:50030/jobdetails.jsp?jobid=job_201804091524_0002
      18/04/09 16:17:36 INFO job.GiraphJob: Waiting for resources... Job will start only when it gets all 2 mappers

       

      As you can see, the .jar file name is little bit different from what is on the document. But I don't think it should be the problem.

       

      Attachments

        Activity

          People

            Unassigned Unassigned
            ysun1991 Yuhan Sun
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

            Dates

              Created:
              Updated:

              Time Tracking

                Estimated:
                Original Estimate - 24h
                24h
                Remaining:
                Remaining Estimate - 24h
                24h
                Logged:
                Time Spent - Not Specified
                Not Specified