Uploaded image for project: 'Giraph'
  1. Giraph
  2. GIRAPH-774

Quick Start Failure

    XMLWordPrintableJSON

    Details

    • Type: Bug
    • Status: Resolved
    • Priority: Minor
    • Resolution: Fixed
    • Affects Version/s: 1.1.0
    • Fix Version/s: 1.1.0
    • Component/s: examples
    • Labels:
      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

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

              Dates

              • Created:
                Updated:
                Resolved: