Details

    • Bug
    • Status: Resolved
    • Minor
    • Resolution: Fixed
    • 1.1.0
    • 1.1.0
    • examples
    • None

    Description

      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

      Attachments

        Activity

          People

            Unassigned Unassigned
            scharala Stergios Charalmpakis
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved:

              Slack

                Issue deployment