Skip to content

Instantly share code, notes, and snippets.

@ndimiduk
Created November 4, 2010 23:47
Show Gist options
  • Save ndimiduk/663414 to your computer and use it in GitHub Desktop.
Save ndimiduk/663414 to your computer and use it in GitHub Desktop.
Launcher scrip for hbase
#!/bin/bash
YCSB_HOME="${HOME}/repos/YCSB"
HBASE_LIB="${YCSB_HOME}/db/hbase/lib"
HBASE_CONF="/etc/hbase/conf"
YCSB_JAR="${YCSB_HOME}/build/ycsb.jar"
CLASSPATH=$BASE_CONF:$YCSB_JAR
for f in $HBASE_LIB/*.jar; do
CLASSPATH=${CLASSPATH}:$f;
done
java -cp $CLASSPATH com.yahoo.ycsb.CommandLine "$@"
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment