You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@hama.apache.org by Apache Wiki <wi...@apache.org> on 2014/02/13 02:01:19 UTC

[Hama Wiki] Update of "PageRank" by edwardyoon

Dear Wiki user,

You have subscribed to a wiki page or wiki category on "Hama Wiki" for change notification.

The "PageRank" page has been changed by edwardyoon:
https://wiki.apache.org/hama/PageRank?action=diff&rev1=11&rev2=12

  First of all, generate a symmetric adjacency matrix using the gen command. 
  
  {{{
-   % bin/hama jar hama-examples-0.x.0.jar gen symmetric 100 10 randomgraph 2
+   % bin/hama jar hama-examples-0.x.0.jar gen fastgen 100 10 randomgraph 2
  }}}
  
  This will create a graph with 100 nodes and 1K edges and store 2 partitions on HDFS as the sequence file. You can adjust partition and tasks numbers to fit your cluster. Then, run PageRank using: