You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@hbase.apache.org by ns...@apache.org on 2011/10/11 04:08:56 UTC

svn commit: r1181443 - /hbase/branches/0.89/bin/hbase-daemon.sh

Author: nspiegelberg
Date: Tue Oct 11 02:08:56 2011
New Revision: 1181443

URL: http://svn.apache.org/viewvc?rev=1181443&view=rev
Log:
get rid of sleep during daemon restart

Test Plan:
bin/rolling-restart.sh

DiffCamp Revision: 181580
Reviewed By: kannan
CC: kannan
Revert Plan:
OK

Modified:
    hbase/branches/0.89/bin/hbase-daemon.sh

Modified: hbase/branches/0.89/bin/hbase-daemon.sh
URL: http://svn.apache.org/viewvc/hbase/branches/0.89/bin/hbase-daemon.sh?rev=1181443&r1=1181442&r2=1181443&view=diff
==============================================================================
--- hbase/branches/0.89/bin/hbase-daemon.sh (original)
+++ hbase/branches/0.89/bin/hbase-daemon.sh Tue Oct 11 02:08:56 2011
@@ -182,11 +182,6 @@ case $startStop in
     # stop the command
     $thiscmd --config "${HBASE_CONF_DIR}" stop $command $args &
     wait_until_done $!
-    # wait a user-specified sleep period
-    sp=${HBASE_RESTART_SLEEP:-3}
-    if [ $sp -gt 0 ]; then
-      sleep $sp
-    fi
     # start the command
     $thiscmd --config "${HBASE_CONF_DIR}" start $command $args &
     wait_until_done $!