HBASE-7785 rolling-restart.sh script unable to check expiration of master znode (Samir Ahmic)

git-svn-id: https://svn.apache.org/repos/asf/hbase/trunk@1443659 13f79535-47bb-0310-9956-ffa450edef68
This commit is contained in:
larsh 2013-02-07 18:58:35 +00:00
parent 91a4536048
commit 91f4605c0b
1 changed files with 1 additions and 1 deletions

View File

@ -107,7 +107,7 @@ else
if [ "$zmaster" == "null" ]; then zmaster="master"; fi
zmaster=$zparent/$zmaster
echo -n "Waiting for Master ZNode ${zmaster} to expire"
while ! bin/hbase zkcli stat $zmaster 2>&1 | grep "Node does not exist"; do
while ! "$bin"/hbase zkcli stat $zmaster 2>&1 | grep "Node does not exist"; do
echo -n "."
sleep 1
done