Skip to end of metadata
Go to start of metadata

Building

Build requirements:

  • Java 1.6
  • Maven 3 or higher
  1. Download Giraph from git://git.apache.org/giraph.git. One easy way to do this is:
  2. In the base path, use ‘mvn compile’ to build the giraph jar (will be generated in giraph/target/giraph-{version}-jar-with-dependencies). If you would like to build the jar and run the unittests use ‘mvn package’ instead.

Running an example:

Hadoop requirements:

  • Hadoop 0.20.203 or higher (must contain the necessary security changes)
  1. Build the Giraph jar with dependencies as described above.
  2. In this example, we run a page rank benchmark included with Giraph located in org.apache.giraph.benchmark.PageRankBenchmark. For help on the options, run the following command with the appropriate location changed for your generated jar file:

Example page rank benchmark run with 5 million vertices, 3 supersteps, and 30 workers:

Labels
  • No labels