Skip to content

Instantly share code, notes, and snippets.

@prateek
Last active December 29, 2015 05:29
Show Gist options
  • Save prateek/7621631 to your computer and use it in GitHub Desktop.
Save prateek/7621631 to your computer and use it in GitHub Desktop.
Instructions to get Giraph up and running
# Giraph does not have a central repository as of writing this
# So we build a local version and store it in our local maven repository
git clone https://github.com/apache/giraph.git
# And retrieve a patch for `GIRAPH-442`
wget http://www.mail-archive.com/[email protected]/msg00945/check.diff
# We also revert to version 1.0.0 for this codebase
cd giraph
git checkout release-1.0.0-RC3
# apply earlier patch
git apply ../check.diff
git commit -am 'patching Giraph-442'
# build the local CDH version and install it
mvn -Phadoop_cdh4.1.2 -DskipTests install
# all set to finally build projecy code
cd ../<project>
mvn package
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment