giraph-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From vandana bhatia <vbhati...@gmail.com>
Subject Problem with simple shortest path
Date Fri, 17 Jul 2015 12:19:06 GMT
*hi.*
*i just started working with giraph. i followed the same steps mentioned in
the quick start guide and tried the following command.*

hadoop jar
$GIRAPH_HOME/giraph-examples/target/giraph-examples-1.2.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/input/tiny_graph.txt -vof
org.apache.giraph.io.formats.IdWithValueTextOutputFormat -op
/user/output/shortestpaths -w 1

*but getting an error while running it *

*15/07/17 17:43:47 INFO utils.ConfigurationUtils: No edge input format
specified. Ensure your InputFormat does not require one.15/07/17 17:43:47
INFO utils.ConfigurationUtils: No edge output format specified. Ensure your
OutputFormat does not require one.15/07/17 17:43:47 WARN
util.NativeCodeLoader: Unable to load native-hadoop library for your
platform... using builtin-java classes where applicable15/07/17 17:43:47
INFO Configuration.deprecation: mapreduce.job.counters.limit is deprecated.
Instead, use mapreduce.job.counters.max15/07/17 17:43:47 INFO
Configuration.deprecation: mapred.job.map.memory.mb is deprecated. Instead,
use mapreduce.map.memory.mb15/07/17 17:43:47 INFO
Configuration.deprecation: mapred.job.reduce.memory.mb is deprecated.
Instead, use mapreduce.reduce.memory.mb15/07/17 17:43:47 INFO
Configuration.deprecation: mapred.map.tasks.speculative.execution is
deprecated. Instead, use mapreduce.map.speculative15/07/17 17:43:47 INFO
Configuration.deprecation: mapreduce.user.classpath.first is deprecated.
Instead, use mapreduce.job.user.classpath.first15/07/17 17:43:47 INFO
Configuration.deprecation: mapred.map.max.attempts is deprecated. Instead,
use mapreduce.map.maxattempts15/07/17 17:43:47 INFO job.GiraphJob: run:
Since checkpointing is disabled (default), do not allow any task retries
(setting mapred.map.max.attempts = 1, old value = 4)15/07/17 17:43:47 INFO
Configuration.deprecation: mapred.job.tracker is deprecated. Instead, use
mapreduce.jobtracker.addressException in thread "main"
java.lang.IllegalArgumentException: checkLocalJobRunnerConfiguration: When
using LocalJobRunner, you cannot run in split master / worker mode since
there is only 1 task at a time! at
org.apache.giraph.job.GiraphJob.checkLocalJobRunnerConfiguration(GiraphJob.java:167)
at org.apache.giraph.job.GiraphJob.run(GiraphJob.java:235) at
org.apache.giraph.GiraphRunner.run(GiraphRunner.java:94) at
org.apache.hadoop.util.ToolRunner.run(ToolRunner.java:70) at
org.apache.hadoop.util.ToolRunner.run(ToolRunner.java:84) at
org.apache.giraph.GiraphRunner.main(GiraphRunner.java:124) at
sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) at
sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)
at
sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
at java.lang.reflect.Method.invoke(Method.java:497) at
org.apache.hadoop.util.RunJar.run(RunJar.java:221) at
org.apache.hadoop.util.RunJar.main(RunJar.java:136)*

Please help me out in resolving this issue. I am working in giraph 1.1.0


-- 
Regards,
Vandana Bhatia

Mime
View raw message