HBASE-5603 rolling-restart.sh script hangs when attempting to detect expiration of /hbase/master znode

git-svn-id: https://svn.apache.org/repos/asf/hbase/trunk@1303184 13f79535-47bb-0310-9956-ffa450edef68
This commit is contained in:
Jonathan Hsieh 2012-03-20 22:46:54 +00:00
parent b4dccf9198
commit c38f889627
1 changed files with 1 additions and 1 deletions

View File

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