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

NPE at PageRankBenchmark

    XMLWordPrintableJSON

    Details

    • Type: Bug
    • Status: Resolved
    • Priority: Major
    • Resolution: Duplicate
    • Affects Version/s: 1.0.0
    • Fix Version/s: None
    • Component/s: examples
    • Labels:
      None
    • Environment:

      Hadoop-0.20.205.0
      Linux: Amazon EC2, standard one "Amazon Linux 32 bit"
      Giraph: compiled from CL 1245205

      Description

      1. I've copied hadoop-0.20.205.0 into Amazon EC2 linux
      2. Compiled latest Giraph (giraph-0.2-SNAPSHOT-jar-with-dependencies.jar) from sources (CL 1245205) and copied it to Linux as well:
      3. Run this command as suggested in docs (https://cwiki.apache.org/confluence/display/GIRAPH/Quick+Start+Guide)

      > hadoop-0.20.205.0/bin/hadoop jar giraph-0.2-SNAPSHOT-jar-with-dependencies.jar org.apache.giraph.benchmark.PageRankBenchmark -e 1 -s 3 -v -V 50000 -w 1

      OBSERVED:

       
      Exception in thread "main" java.lang.NullPointerException
              at org.apache.giraph.benchmark.PageRankBenchmark.run(PageRankBenchmark.java:127)
              at org.apache.hadoop.util.ToolRunner.run(ToolRunner.java:65)
              at org.apache.hadoop.util.ToolRunner.run(ToolRunner.java:79)
              at org.apache.giraph.benchmark.PageRankBenchmark.main(PageRankBenchmark.java:162)
              at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
              at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:57)
              at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
              at java.lang.reflect.Method.invoke(Method.java:616)
              at org.apache.hadoop.util.RunJar.main(RunJar.java:156)
      

        Attachments

          Activity

            People

            • Assignee:
              Unassigned
              Reporter:
              ylitvinov Yury Litvinov
            • Votes:
              0 Vote for this issue
              Watchers:
              0 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved: