[jira] [Created] (GIRAPH-152) NPE at PageRankBenchmark

2012-02-20 Thread Yury Litvinov (Created) (JIRA)
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 5 -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




[jira] [Resolved] (GIRAPH-152) NPE at PageRankBenchmark

2012-02-20 Thread Avery Ching (Resolved) (JIRA)

 [ 
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 5 -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




[jira] [Commented] (GIRAPH-150) PageRankBenchmark accesses wrong conf after GiraphJob is created

2012-02-20 Thread Sebastian Schelter (Commented) (JIRA)

[ 
https://issues.apache.org/jira/browse/GIRAPH-150?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13211991#comment-13211991
 ] 

Sebastian Schelter commented on GIRAPH-150:
---

haven't tested it, but looks reasonable, +1 from me

> PageRankBenchmark accesses wrong conf after GiraphJob is created
> 
>
> Key: GIRAPH-150
> URL: https://issues.apache.org/jira/browse/GIRAPH-150
> Project: Giraph
>  Issue Type: Bug
>Reporter: Avery Ching
>Assignee: Avery Ching
> Attachments: GIRAPH-150.patch
>
>


--
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




[jira] [Commented] (GIRAPH-150) PageRankBenchmark accesses wrong conf after GiraphJob is created

2012-02-20 Thread Hudson (Commented) (JIRA)

[ 
https://issues.apache.org/jira/browse/GIRAPH-150?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13211998#comment-13211998
 ] 

Hudson commented on GIRAPH-150:
---

Integrated in Giraph-trunk-Commit #84 (See 
[https://builds.apache.org/job/Giraph-trunk-Commit/84/])
GIRAPH-150: PageRankBenchmark accesses wrong conf after GiraphJob is
created (aching). (Revision 1291382)

 Result = SUCCESS
aching : http://svn.apache.org/viewcvs.cgi/?root=Apache-SVN&view=rev&rev=1291382
Files : 
* /incubator/giraph/trunk/CHANGELOG
* 
/incubator/giraph/trunk/src/main/java/org/apache/giraph/benchmark/PageRankBenchmark.java


> PageRankBenchmark accesses wrong conf after GiraphJob is created
> 
>
> Key: GIRAPH-150
> URL: https://issues.apache.org/jira/browse/GIRAPH-150
> Project: Giraph
>  Issue Type: Bug
>Reporter: Avery Ching
>Assignee: Avery Ching
> Attachments: GIRAPH-150.patch
>
>


--
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




[jira] [Resolved] (GIRAPH-150) PageRankBenchmark accesses wrong conf after GiraphJob is created

2012-02-20 Thread Avery Ching (Resolved) (JIRA)

 [ 
https://issues.apache.org/jira/browse/GIRAPH-150?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Avery Ching resolved GIRAPH-150.


Resolution: Fixed

Thanks Sebastian!  Closing after hudson's approval.

> PageRankBenchmark accesses wrong conf after GiraphJob is created
> 
>
> Key: GIRAPH-150
> URL: https://issues.apache.org/jira/browse/GIRAPH-150
> Project: Giraph
>  Issue Type: Bug
>Reporter: Avery Ching
>Assignee: Avery Ching
> Attachments: GIRAPH-150.patch
>
>


--
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