[ https://issues.apache.org/jira/browse/GIRAPH-152?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Avery Ching resolved GIRAPH-152. -------------------------------- Resolution: Duplicate This is a duplicate of GIRAPH-150. Please see the fix there. > NPE at PageRankBenchmark > ------------------------ > > Key: GIRAPH-152 > URL: https://issues.apache.org/jira/browse/GIRAPH-152 > Project: Giraph > Issue Type: Bug > Components: examples > Affects Versions: 0.2.0 > Environment: Hadoop-0.20.205.0 > Linux: Amazon EC2, standard one "Amazon Linux 32 bit" > Giraph: compiled from CL 1245205 > Reporter: Yury Litvinov > > 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: > {code} > 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) > {code} -- This message is automatically generated by JIRA. If you think it was sent incorrectly, please contact your JIRA administrators: https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa For more information on JIRA, see: http://www.atlassian.com/software/jira