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:
parent
91a4536048
commit
91f4605c0b
|
@ -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
|
||||
|
|
Loading…
Reference in New Issue