You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@hbase.apache.org by la...@apache.org on 2013/02/07 19:58:45 UTC

svn commit: r1443660 - /hbase/branches/0.94/bin/rolling-restart.sh

Author: larsh
Date: Thu Feb  7 18:58:45 2013
New Revision: 1443660

URL: http://svn.apache.org/r1443660
Log:
HBASE-7785 rolling-restart.sh script unable to check expiration of master znode (Samir Ahmic)

Modified:
    hbase/branches/0.94/bin/rolling-restart.sh

Modified: hbase/branches/0.94/bin/rolling-restart.sh
URL: http://svn.apache.org/viewvc/hbase/branches/0.94/bin/rolling-restart.sh?rev=1443660&r1=1443659&r2=1443660&view=diff
==============================================================================
--- hbase/branches/0.94/bin/rolling-restart.sh (original)
+++ hbase/branches/0.94/bin/rolling-restart.sh Thu Feb  7 18:58:45 2013
@@ -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