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:
parent
9dd208ff91
commit
9eb5a28520
|
@ -281,7 +281,7 @@ elif [ "$COMMAND" = "upgrade" ] ; then
|
||||||
CLASS="org.apache.hadoop.hbase.migration.UpgradeTo96"
|
CLASS="org.apache.hadoop.hbase.migration.UpgradeTo96"
|
||||||
elif [ "$COMMAND" = "master" ] ; then
|
elif [ "$COMMAND" = "master" ] ; then
|
||||||
CLASS='org.apache.hadoop.hbase.master.HMaster'
|
CLASS='org.apache.hadoop.hbase.master.HMaster'
|
||||||
if [ "$1" != "stop" ] ; then
|
if [ "$1" != "stop" ] && [ "$1" != "clear" ] ; then
|
||||||
HBASE_OPTS="$HBASE_OPTS $HBASE_MASTER_OPTS"
|
HBASE_OPTS="$HBASE_OPTS $HBASE_MASTER_OPTS"
|
||||||
fi
|
fi
|
||||||
elif [ "$COMMAND" = "regionserver" ] ; then
|
elif [ "$COMMAND" = "regionserver" ] ; then
|
||||||
|
|
Loading…
Reference in New Issue