Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

...

No Format
  % bin/hama jar hama-examples-0.x.0.jar gen fastgen -v 100 -e 10 -o randomgraph -t 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:

No Format
  % bin/hama jar hama-examples-0.x.0.jar pagerank -i randomgraph -o pagerankresult -t 4