HBASE-10045 HMaster's clear command could conflict with JMX ports

git-svn-id: https://svn.apache.org/repos/asf/hbase/trunk@1545892 13f79535-47bb-0310-9956-ffa450edef68
This commit is contained in:
eclark 2013-11-27 00:52:12 +00:00
parent 9dd208ff91
commit 9eb5a28520
1 changed files with 1 additions and 1 deletions

View File

@ -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