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 Mon, 20 Jun 2011 00:33:47 GMT

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

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

FINAL patch is not work on my cluster.

Regarding "print usage", System.out is better than logging api.

{code}
root@hnode1:/usr/local/src/hama-trunk# bin/hama jar hama-examples-0.3.0-incubating-SNAPSHOT.jar
page 0.85 0.001 /tmp/pagerank /tmp/input.txt
11/06/20 09:30:02 INFO pagerank.PageRank: PageRank Example:
11/06/20 09:30:02 INFO pagerank.PageRank: <damping factor> <epsilon error> <optional:
output path> <optional: input path>
11/06/20 09:30:02 INFO pagerank.PageRank: Set damping factor to 0.85
11/06/20 09:30:02 INFO pagerank.PageRank: Set epsilon error to 0.001
11/06/20 09:30:02 INFO pagerank.PageRank: Set output path to /tmp/pagerank
11/06/20 09:30:02 INFO pagerank.PageRank: Using custom input at /tmp/input.txt
11/06/20 09:30:02 WARN util.NativeCodeLoader: Unable to load native-hadoop library for your
platform... using builtin-java classes where applicable
11/06/20 09:30:02 INFO compress.CodecPool: Got brand-new compressor
11/06/20 09:30:02 INFO compress.CodecPool: Got brand-new compressor
11/06/20 09:30:02 INFO compress.CodecPool: Got brand-new compressor
11/06/20 09:30:02 INFO compress.CodecPool: Got brand-new compressor
11/06/20 09:30:02 INFO compress.CodecPool: Got brand-new compressor
11/06/20 09:30:02 INFO compress.CodecPool: Got brand-new compressor
11/06/20 09:30:02 INFO compress.CodecPool: Got brand-new compressor
11/06/20 09:30:02 INFO compress.CodecPool: Got brand-new compressor
11/06/20 09:30:02 INFO compress.CodecPool: Got brand-new compressor
11/06/20 09:30:02 INFO compress.CodecPool: Got brand-new compressor
11/06/20 09:30:02 INFO compress.CodecPool: Got brand-new compressor
11/06/20 09:30:03 INFO compress.CodecPool: Got brand-new compressor
11/06/20 09:30:03 INFO compress.CodecPool: Got brand-new compressor
11/06/20 09:30:03 INFO compress.CodecPool: Got brand-new compressor
11/06/20 09:30:03 INFO compress.CodecPool: Got brand-new compressor
11/06/20 09:30:03 INFO compress.CodecPool: Got brand-new compressor
11/06/20 09:30:03 DEBUG bsp.BSPJobClient: BSPJobClient.submitJobDir: hdfs://hnode15:9000/tmp/hadoop-root/bsp/system/submit_kxj0mn
11/06/20 09:30:03 INFO bsp.BSPJobClient: Running job: job_201106200929_0002
11/06/20 09:30:06 INFO bsp.BSPJobClient: Current supersteps number: 1
11/06/20 09:30:09 INFO bsp.BSPJobClient: Current supersteps number: 4
11/06/20 09:30:12 INFO bsp.BSPJobClient: Current supersteps number: 5
11/06/20 09:30:15 INFO bsp.BSPJobClient: Current supersteps number: 8
11/06/20 09:30:18 INFO bsp.BSPJobClient: Current supersteps number: 10
11/06/20 09:30:21 INFO bsp.BSPJobClient: Current supersteps number: 13

Hang!
{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
>             Fix For: 0.3.0
>
>         Attachments: HAMA-395-v1.patch, HAMA-395-v2.patch, HAMA-395-v3.patch, HAMA-395-v4.patch,
HAMA-395-v5.patch, HAMA-395-v6.patch, HAMA-395-vFINAL.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