Yuhan Sun created GIRAPH-1186:
---------------------------------
Summary: Quickstart Single node mode, cannot correctly finish the
shortestpath task.
Key: GIRAPH-1186
URL: https://issues.apache.org/jira/browse/GIRAPH-1186
Project: Giraph
Issue Type: Bug
Components: documentation, examples
Affects Versions: 1.2.0
Environment: Ubuntu 16.04
java 1.7
Giraph version: The latest one.
Hadoop version: The one required in the tutorial.
Reporter: Yuhan Sun
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.
--
This message was sent by Atlassian JIRA
(v7.6.3#76005)