You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@hbase.apache.org by ap...@apache.org on 2014/08/01 19:45:15 UTC
[2/3] git commit: HBASE-11649 Add shortcut commands to bin/hbase for
test tools
HBASE-11649 Add shortcut commands to bin/hbase for test tools
Project: http://git-wip-us.apache.org/repos/asf/hbase/repo
Commit: http://git-wip-us.apache.org/repos/asf/hbase/commit/a28f048f
Tree: http://git-wip-us.apache.org/repos/asf/hbase/tree/a28f048f
Diff: http://git-wip-us.apache.org/repos/asf/hbase/diff/a28f048f
Branch: refs/heads/branch-1
Commit: a28f048fbfffec1b946844ecd9fa589dde80a17b
Parents: e142961
Author: Andrew Purtell <ap...@apache.org>
Authored: Fri Aug 1 10:31:27 2014 -0700
Committer: Andrew Purtell <ap...@apache.org>
Committed: Fri Aug 1 10:44:24 2014 -0700
----------------------------------------------------------------------
bin/hbase | 8 ++++++++
1 file changed, 8 insertions(+)
----------------------------------------------------------------------
http://git-wip-us.apache.org/repos/asf/hbase/blob/a28f048f/bin/hbase
----------------------------------------------------------------------
diff --git a/bin/hbase b/bin/hbase
index c85a916..6855cb6 100755
--- a/bin/hbase
+++ b/bin/hbase
@@ -93,6 +93,8 @@ if [ $# = 0 ]; then
echo " clean Run the HBase clean up script"
echo " classpath Dump hbase CLASSPATH"
echo " mapredcp Dump CLASSPATH entries required by mapreduce"
+ echo " pe Run PerformanceEvaluation"
+ echo " ltt Run LoadTestTool"
echo " version Print the version"
echo " CLASSNAME Run the class named CLASSNAME"
exit 1
@@ -338,6 +340,12 @@ elif [ "$COMMAND" = "mapredcp" ] ; then
elif [ "$COMMAND" = "classpath" ] ; then
echo $CLASSPATH
exit 0
+elif [ "$COMMAND" = "pe" ] ; then
+ CLASS='org.apache.hadoop.hbase.PerformanceEvaluation'
+ HBASE_OPTS="$HBASE_OPTS $HBASE_PE_OPTS"
+elif [ "$COMMAND" = "ltt" ] ; then
+ CLASS='org.apache.hadoop.hbase.util.LoadTestTool'
+ HBASE_OPTS="$HBASE_OPTS $HBASE_LTT_OPTS"
elif [ "$COMMAND" = "version" ] ; then
CLASS='org.apache.hadoop.hbase.util.VersionInfo'
else