You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@hbase.apache.org by ec...@apache.org on 2013/11/27 01:52:12 UTC

svn commit: r1545892 - /hbase/trunk/bin/hbase

Author: eclark
Date: Wed Nov 27 00:52:12 2013
New Revision: 1545892

URL: http://svn.apache.org/r1545892
Log:
HBASE-10045 HMaster's clear command could conflict with JMX ports

Modified:
    hbase/trunk/bin/hbase

Modified: hbase/trunk/bin/hbase
URL: http://svn.apache.org/viewvc/hbase/trunk/bin/hbase?rev=1545892&r1=1545891&r2=1545892&view=diff
==============================================================================
--- hbase/trunk/bin/hbase (original)
+++ hbase/trunk/bin/hbase Wed Nov 27 00:52:12 2013
@@ -281,7 +281,7 @@ elif [ "$COMMAND" = "upgrade" ] ; then
   CLASS="org.apache.hadoop.hbase.migration.UpgradeTo96"
 elif [ "$COMMAND" = "master" ] ; then
   CLASS='org.apache.hadoop.hbase.master.HMaster'
-  if [ "$1" != "stop" ] ; then
+  if [ "$1" != "stop" ] && [ "$1" != "clear" ] ; then
     HBASE_OPTS="$HBASE_OPTS $HBASE_MASTER_OPTS"
   fi
 elif [ "$COMMAND" = "regionserver" ] ; then