You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@hbase.apache.org by st...@apache.org on 2011/10/03 19:16:17 UTC

svn commit: r1178463 - in /hbase/branches/0.92: CHANGES.txt bin/hbase-daemon.sh

Author: stack
Date: Mon Oct  3 17:16:17 2011
New Revision: 1178463

URL: http://svn.apache.org/viewvc?rev=1178463&view=rev
Log:
HBASE-4526 special case for stopping master in hbase-daemon.sh is no longer required

Modified:
    hbase/branches/0.92/CHANGES.txt
    hbase/branches/0.92/bin/hbase-daemon.sh

Modified: hbase/branches/0.92/CHANGES.txt
URL: http://svn.apache.org/viewvc/hbase/branches/0.92/CHANGES.txt?rev=1178463&r1=1178462&r2=1178463&view=diff
==============================================================================
--- hbase/branches/0.92/CHANGES.txt (original)
+++ hbase/branches/0.92/CHANGES.txt Mon Oct  3 17:16:17 2011
@@ -554,6 +554,8 @@ Release 0.92.0 - Unreleased
                (Chris Trezzo via JD)
    HBASE-2794  Utilize ROWCOL bloom filter if multiple columns within same family
                are requested in a Get (Mikhail Bautin)
+   HBASE-4526  special case for stopping master in hbase-daemon.sh is no longer
+               required (Roman Shaposhnik)
 
   TASKS
    HBASE-3559  Move report of split to master OFF the heartbeat channel

Modified: hbase/branches/0.92/bin/hbase-daemon.sh
URL: http://svn.apache.org/viewvc/hbase/branches/0.92/bin/hbase-daemon.sh?rev=1178463&r1=1178462&r2=1178463&view=diff
==============================================================================
--- hbase/branches/0.92/bin/hbase-daemon.sh (original)
+++ hbase/branches/0.92/bin/hbase-daemon.sh Mon Oct  3 17:16:17 2011
@@ -153,13 +153,8 @@ case $startStop in
       # kill -0 == see if the PID exists 
       if kill -0 `cat $pid` > /dev/null 2>&1; then
         echo -n stopping $command
-        if [ "$command" = "master" ]; then
-          echo "`date` Killing $command" >> $loglog
-          kill -9 `cat $pid` > /dev/null 2>&1
-        else
-          echo "`date` Killing $command" >> $loglog
-          kill `cat $pid` > /dev/null 2>&1
-        fi
+        echo "`date` Killing $command" >> $loglog
+        kill `cat $pid` > /dev/null 2>&1
         while kill -0 `cat $pid` > /dev/null 2>&1; do
           echo -n "."
           sleep 1;