incubator-hama-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Edward J. Yoon (JIRA)" <j...@apache.org>
Subject [jira] [Commented] (HAMA-395) Example: PageRank
Date Tue, 14 Jun 2011 02:26:48 GMT

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

Edward J. Yoon commented on HAMA-395:
-------------------------------------

I received below error.

{code}
11/06/14 10:58:04 INFO compress.CodecPool: Got brand-new compressor
11/06/14 10:58:04 INFO compress.CodecPool: Got brand-new compressor
11/06/14 10:58:04 INFO compress.CodecPool: Got brand-new compressor
11/06/14 10:58:04 INFO compress.CodecPool: Got brand-new compressor
11/06/14 10:58:04 INFO compress.CodecPool: Got brand-new compressor
11/06/14 10:58:04 DEBUG bsp.BSPJobClient: BSPJobClient.submitJobDir: hdfs://hnode15:9000/tmp/hadoop-root/bsp/system/submit_sy6n5s
11/06/14 10:58:04 WARN bsp.BSPJobClient: The number of tasks you've entered was invalid. Using
default value of 16!
11/06/14 10:58:04 INFO bsp.BSPJobClient: Running job: job_201106141053_0003
11/06/14 10:58:07 INFO bsp.BSPJobClient: Current supersteps number: 0
11/06/14 10:58:10 INFO bsp.BSPJobClient: The total number of supersteps: 0
-------------------- RESULTS --------------------
java.lang.NullPointerException
        at org.apache.hama.examples.pagerank.PageRankIOUtils.printOutput(PageRankIOUtils.java:211)
        at org.apache.hama.examples.pagerank.PageRank.main(PageRank.java:227)
        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.ProgramDriver$ProgramDescription.invoke(ProgramDriver.java:68)
        at org.apache.hadoop.util.ProgramDriver.driver(ProgramDriver.java:139)
        at org.apache.hama.examples.ExampleDriver.main(ExampleDriver.java:37)
        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.hama.util.RunJar.main(RunJar.java:145)
{code}

> Example: PageRank
> -----------------
>
>                 Key: HAMA-395
>                 URL: https://issues.apache.org/jira/browse/HAMA-395
>             Project: Hama
>          Issue Type: Improvement
>          Components: bsp, examples
>    Affects Versions: 0.2.0
>            Reporter: Thomas Jungblut
>            Assignee: Thomas Jungblut
>         Attachments: HAMA-395-v1.patch, HAMA-395-v2.patch, HAMA-395-v3.patch, HAMA-395-v4.patch,
HAMA-395.patch, input.txt
>
>
> I'd like to contribute my PageRank BSP as an example. 
> http://codingwiththomas.blogspot.com/2011/04/pagerank-with-apache-hama.html
> TODO:
> - refactor the partitioning from the SSSP patch in https://issues.apache.org/jira/browse/HAMA-359
(extract an utility class etc)
> - add a really cool web-sub-graph example dataset ;D
> - add a wiki page for it

--
This message is automatically generated by JIRA.
For more information on JIRA, see: http://www.atlassian.com/software/jira

        

Mime
View raw message