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 Sun, 19 Jul 2015 12:03:31 GMT
hi Sonja

I tried release 1.1.0 also. I am using hadoop 2.6.0. Can we use giraph
1.1.0 with this release of hadoop? Also when i ask for mvn -version it
shows 2.2.1 . But when i ask for maven version, it shows 3.3.0 . Do you
have any idea why it is so?

On Sat, Jul 18, 2015 at 5:30 PM, Sonja Koenig <sonja.koenig@uni-ulm.de>
wrote:

>  Hi there!
>
> Suggestion:
> Try cloning the release 1.1.0. That solves a couple problems, maybe yours,
> too.
>
> I had several issues with the giraph 1.2.0 version.. I think it's not
> really finished yet. Don't know if you could actually call it "stable" :D
>
> Regards!
> Sonja
>
>
> Am 18.07.2015 um 12:17 schrieb vandana bhatia:
>
> 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 applicable 15/07/17 17:43:47
>> INFO Configuration.deprecation: mapreduce.job.counters.limit is deprecated.
>> Instead, use mapreduce.job.counters.max 15/07/17 17:43:47 INFO
>> Configuration.deprecation: mapred.job.map.memory.mb is deprecated. Instead,
>> use mapreduce.map.memory.mb 15/07/17 17:43:47 INFO
>> Configuration.deprecation: mapred.job.reduce.memory.mb is deprecated.
>> Instead, use mapreduce.reduce.memory.mb 15/07/17 17:43:47 INFO
>> Configuration.deprecation: mapred.map.tasks.speculative.execution is
>> deprecated. Instead, use mapreduce.map.speculative 15/07/17 17:43:47 INFO
>> Configuration.deprecation: mapreduce.user.classpath.first is deprecated.
>> Instead, use mapreduce.job.user.classpath.first 15/07/17 17:43:47 INFO
>> Configuration.deprecation: mapred.map.max.attempts is deprecated. Instead,
>> use mapreduce.map.maxattempts 15/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.address Exception 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
>
>
>


-- 
Regards,
Vandana Bhatia

Mime
View raw message