hbase-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From ecl...@apache.org
Subject svn commit: r1545892 - /hbase/trunk/bin/hbase
Date Wed, 27 Nov 2013 00:52:12 GMT
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



Mime
View raw message