From 91f4605c0bc840833d729d5569c61d8a434dbb5b Mon Sep 17 00:00:00 2001 From: larsh Date: Thu, 7 Feb 2013 18:58:35 +0000 Subject: [PATCH] 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 --- bin/rolling-restart.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/bin/rolling-restart.sh b/bin/rolling-restart.sh index 07a78c71ede..e7329feb3c3 100755 --- a/bin/rolling-restart.sh +++ b/bin/rolling-restart.sh @@ -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