try removing the "-libjars" string. that is necessary if you need additional jar for your computation class. After the GiraphRunner class, you should have the name of the computation class ( org.apache.giraph.examples.SimpleShortestPathsComputation in your case). The rest looks fine for me.
On Sat, Oct 26, 2013 at 8:14 PM, Jyoti Yadav <[email protected]>wrote: > Hi.. > I am new to giraph..I tried to run my giraph job,which compiled > successfully. > I gave following command.. but program is not running successfully. > > > bin/hadoop jar > $GIRAPH_HOME/giraph-examples/target/giraph-examples-1.1.0-SNAPSHOT-for-hadoop- > 0.20.203.0-jar-with-dependencies.jar org.apache.giraph.GiraphRunner > -libjars /home/hduser/sp_jar > org.apache.giraph.examples.SimpleShortestPathsComputation -vif > org.apache.giraph.io.formats.JsonLongDoubleFloatDoubleVertexInputFormat > -vip /user/hduser/sp_input/tiny_graph.txt -vof > org.apache.giraph.io.formats.IdWithValueTextOutputFormat -op > /user/hduser/sp_output3/shortestpaths -w 1 > 13/10/26 23:25:12 INFO utils.ConfigurationUtils: No edge input format > specified. Ensure your InputFormat does not require one. > 13/10/26 23:25:12 INFO utils.ConfigurationUtils: No edge output format > specified. Ensure your OutputFormat does not require one. > 13/10/26 23:25:12 INFO job.GiraphJob: run: Since checkpointing is disabled > (default), do not allow any task retries (setting mapred.map.max.attempts = > 0, old value = 4) > 13/10/26 23:25:14 INFO job.GiraphJob: run: Tracking URL: > http://localhost:50030/jobdetails.jsp?jobid=job_201310261810_0004 > 13/10/26 23:26:09 INFO mapred.JobClient: Running job: job_201310261810_0004 > 13/10/26 23:26:09 INFO mapred.JobClient: Job complete: > job_201310261810_0004 > 13/10/26 23:26:09 INFO mapred.JobClient: Counters: 6 > 13/10/26 23:26:09 INFO mapred.JobClient: Job Counters > 13/10/26 23:26:09 INFO mapred.JobClient: SLOTS_MILLIS_MAPS=78803 > 13/10/26 23:26:09 INFO mapred.JobClient: Total time spent by all > reduces waiting after reserving slots (ms)=0 > 13/10/26 23:26:09 INFO mapred.JobClient: Total time spent by all maps > waiting after reserving slots (ms)=0 > 13/10/26 23:26:09 INFO mapred.JobClient: Launched map tasks=2 > 13/10/26 23:26:09 INFO mapred.JobClient: SLOTS_MILLIS_REDUCES=0 > 13/10/26 23:26:09 INFO mapred.JobClient: Failed map tasks=1 > > > Please help me out.. > > Thanks in advavce > Jyoti > -- Claudio Martella [email protected]
