HBASE-4526 special case for stopping master in hbase-daemon.sh is no longer required

git-svn-id: https://svn.apache.org/repos/asf/hbase/trunk@1178462 13f79535-47bb-0310-9956-ffa450edef68
This commit is contained in:
Michael Stack 2011-10-03 17:14:23 +00:00
parent f0aeae2ba4
commit bbe544d2fa
2 changed files with 5 additions and 7 deletions

View File

@ -576,6 +576,9 @@ Release 0.92.0 - Unreleased
are requested in a Get (Mikhail Bautin)
HBASE-4487 The increment operation can release the rowlock before sync-ing
the Hlog (dhruba borthakur)
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

View File

@ -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
while kill -0 `cat $pid` > /dev/null 2>&1; do
echo -n "."
sleep 1;