HBASE-10051 rolling-restart.sh have old value of "zookeeper.znode.unassiged" config causing infinite loop

git-svn-id: https://svn.apache.org/repos/asf/hbase/trunk@1546215 13f79535-47bb-0310-9956-ffa450edef68
This commit is contained in:
Michael Stack 2013-11-27 22:26:36 +00:00
parent aa911ebc66
commit 12f0dce3ae

View File

@ -125,7 +125,7 @@ else
# Wait until the master has cleaned out regions in transition before
# giving it a bunch of work to do; master is vulnerable during startup
zunassigned=`$bin/hbase org.apache.hadoop.hbase.util.HBaseConfTool zookeeper.znode.unassigned`
if [ "$zunassigned" == "null" ]; then zunassigned="unassigned"; fi
if [ "$zunassigned" == "null" ]; then zunassigned="region-in-transition"; fi
zunassigned="$zparent/$zunassigned"
echo -n "Waiting for ${zunassigned} to empty"
while true ; do