giraph-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From vandana bhatia <vbhati...@gmail.com>
Subject Re: Problem with simple shortest path
Date Sat, 18 Jul 2015 10:17:27 GMT
Hi Alessio ,

Sorry but it did not worked . The problem still exist.

*No edge input format specified. Ensure your InputFormat does not require
one.*
*No edge output format specified. Ensure your OutputFormat does not require
one.*

It is asking for the above two things.


On Fri, Jul 17, 2015 at 7:27 PM, Ing. Alessio Arleo <ingarleo@icloud.com>
wrote:

> Hello Vandana
>
> If you are working on a single machine, you have to set not to split the
> master and worker machines.
>
> To do so, add ‘-ca giraph.SplitMasterWorker=false’ to the command you use
> to launch the job.
>
> Hope this helps.
>
> =============
> Dr. Alessio Arleo
>
> PhD student in Industrial and Information Engineering @ University of
> Perugia
>
> Doctor in Information and Automation Engineering
>
> Linkedin: it.linkedin.com/in/IngArleo
> Skype: Ing. Alessio Arleo
> E-Mail: ingarleo@icloud.com
>
> On 17 Jul 2015, at 14:19, vandana bhatia <vbhatia91@gmail.com> wrote:
>
> *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
>
>
>


-- 
Regards,
Vandana Bhatia

Mime
View raw message