Created
November 4, 2010 23:47
-
-
Save ndimiduk/663414 to your computer and use it in GitHub Desktop.
Launcher scrip for hbase
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/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