giraph-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Ηλίας Καπουράνης <ikapo...@csd.auth.gr>
Subject Re: Problem running single source shortest path example in cluster
Date Tue, 22 Oct 2013 11:03:02 GMT
Hey Jyoti,

regarding the -of option, change it to -vof  which corresponds to 
"vertex output format".

Ilias

Στις 22/10/2013 1:35 μμ, ο/η Jyoti Yadav έγραψε:
> Hi..
> I tried to run shortest path algo in cluster.. I follow giraph quick 
> start documentation  to execute the algo..
>
>
>  One thing I need to mention, on my cluster hadoop version is 1.2.1 
> and giraph version is 1.1.0.. but when I build the giraph  the jar 
> file which is create is named as
>
> $GIRAPH_HOME/giraph-examples/target/giraph-examples-1.1.0-SNAPSHOT-for-_*hadoop-0.20.203.0*_-jar-with-dependencies.jar

>
>
>  Is it possible that in jar file name,  hadoop version is different 
> from the version which is installed on my machine.??
>
>
>   I typed following command
>
>
>
>
> $HADOOP_HOME/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 
> org.apache.giraph.examples.SimpleShortestPathsComputation -vif 
> org.apache.giraph.io.formats.JsonLongDoubleFloatDoubleVertexInputFormat -vip 
> /user/hduser/graph_input/graph.txt  -of 
> org.apache.giraph.io.formats.IdWithValueTextOutputFormat -op 
> /user/hduser/graph_output/shortestpaths -w 1
>
>
>  I got tException in thread "main" 
> org.apache.commons.cli.UnrecognizedOptionException: Unrecognized 
> option: -of
>     at org.apache.commons.cli.Parser.processOption(Parser.java:363)
>     at org.apache.commons.cli.Parser.parse(Parser.java:199)
>     at org.apache.commons.cli.Parser.parse(Parser.java:85)
>     at 
> org.apache.giraph.utils.ConfigurationUtils.parseArgs(ConfigurationUtils.java:189)
>     at org.apache.giraph.GiraphRunner.run(GiraphRunner.java:74)
>     at org.apache.hadoop.util.ToolRunner.run(ToolRunner.java:65)
>     at org.apache.hadoop.util.ToolRunner.run(ToolRunner.java:79)
>     at org.apache.giraph.GiraphRunner.main(GiraphRunner.java:124)
>     at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
>     at 
> sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
>     at 
> sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
>     at java.lang.reflect.Method.invoke(Method.java:597)
>     at org.apache.hadoop.util.RunJar.main(RunJar.java:160)
> he following errror...
>
>
>
>
> Any ideas??
>
> Regards
> Jyoti
>
>
>
>
>
>


Mime
View raw message