Skip to content

Instantly share code, notes, and snippets.

@ekoontz
Created September 12, 2012 17:25
Show Gist options
  • Save ekoontz/3708384 to your computer and use it in GitHub Desktop.
Save ekoontz/3708384 to your computer and use it in GitHub Desktop.
Run Giraph Pagerank
#!/bin/sh
set -x
JAR=`find $HOME/giraph/target -name "giraph*with-dependencies.jar" -maxdepth 1 -mindepth 1`
bin/killmr_apps.sh
sleep 2
HADOOP_RUNTIME=/Users/ekoontz/hadoop-runtime
echo
while [ "$?" -eq "0" ] ; do
#uncomment for dev work
rm -rf /tmp/logs
$HADOOP_RUNTIME/bin/hadoop jar $JAR \
org.apache.giraph.benchmark.PageRankBenchmark -Dgiraph.useNetty=true -e 6 -s 10 -v -V 10 -w 4
#uncomment for dev work
exit
done
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment