Hi, since trunk we have now vertex outputformat and edge outputformat. That option is hence now -vof for the vertices.
On Mon, Oct 7, 2013 at 11:18 AM, Stergios Charalmpakis (JIRA) < [email protected]> wrote: > Stergios Charalmpakis created GIRAPH-774: > -------------------------------------------- > > Summary: Quick Start Failure > Key: GIRAPH-774 > URL: https://issues.apache.org/jira/browse/GIRAPH-774 > Project: Giraph > Issue Type: Bug > Components: examples > Affects Versions: 1.1.0 > Reporter: Stergios Charalmpakis > Priority: Minor > Fix For: 1.1.0 > > > Hi, > As i was trying to implement the quick start guide step by step i run in > some problems after trying to run the giraph job example > > $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/input/tiny_graph.txt -of > org.apache.giraph.io.formats.IdWithValueTextOutputFormat -op > /user/hduser/output/shortestpaths -w 1 > > > The error output is > Exception 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:156) > Any help is much appreciated > > > > -- > This message was sent by Atlassian JIRA > (v6.1#6144) > -- Claudio Martella [email protected]
