Return-Path: X-Original-To: apmail-hbase-commits-archive@www.apache.org Delivered-To: apmail-hbase-commits-archive@www.apache.org Received: from mail.apache.org (hermes.apache.org [140.211.11.3]) by minotaur.apache.org (Postfix) with SMTP id B6316114A1 for ; Fri, 1 Aug 2014 17:45:14 +0000 (UTC) Received: (qmail 40356 invoked by uid 500); 1 Aug 2014 17:45:14 -0000 Delivered-To: apmail-hbase-commits-archive@hbase.apache.org Received: (qmail 40211 invoked by uid 500); 1 Aug 2014 17:45:14 -0000 Mailing-List: contact commits-help@hbase.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: dev@hbase.apache.org Delivered-To: mailing list commits@hbase.apache.org Received: (qmail 40191 invoked by uid 99); 1 Aug 2014 17:45:14 -0000 Received: from tyr.zones.apache.org (HELO tyr.zones.apache.org) (140.211.11.114) by apache.org (qpsmtpd/0.29) with ESMTP; Fri, 01 Aug 2014 17:45:14 +0000 Received: by tyr.zones.apache.org (Postfix, from userid 65534) id 30A529BDE24; Fri, 1 Aug 2014 17:45:14 +0000 (UTC) Content-Type: text/plain; charset="us-ascii" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit From: apurtell@apache.org To: commits@hbase.apache.org Date: Fri, 01 Aug 2014 17:45:16 -0000 Message-Id: <0bdb33183cdc479b9e3711bc5d1f5a74@git.apache.org> In-Reply-To: References: X-Mailer: ASF-Git Admin Mailer Subject: [3/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/0e32f563 Tree: http://git-wip-us.apache.org/repos/asf/hbase/tree/0e32f563 Diff: http://git-wip-us.apache.org/repos/asf/hbase/diff/0e32f563 Branch: refs/heads/0.98 Commit: 0e32f563ada05063258339dea2331c0c0b877b31 Parents: 54b698c Author: Andrew Purtell Authored: Fri Aug 1 10:31:27 2014 -0700 Committer: Andrew Purtell Committed: Fri Aug 1 10:44:34 2014 -0700 ---------------------------------------------------------------------- bin/hbase | 8 ++++++++ 1 file changed, 8 insertions(+) ---------------------------------------------------------------------- http://git-wip-us.apache.org/repos/asf/hbase/blob/0e32f563/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