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 2014/10/13 08:08:21 UTC
git commit: HBASE-12240 hbase-daemon.sh should remove pid file if
process not found running (Ashish Singhi)
Repository: hbase
Updated Branches:
refs/heads/master ed3be21e7 -> b68b3bf78
HBASE-12240 hbase-daemon.sh should remove pid file if process not found running (Ashish Singhi)
Project: http://git-wip-us.apache.org/repos/asf/hbase/repo
Commit: http://git-wip-us.apache.org/repos/asf/hbase/commit/b68b3bf7
Tree: http://git-wip-us.apache.org/repos/asf/hbase/tree/b68b3bf7
Diff: http://git-wip-us.apache.org/repos/asf/hbase/diff/b68b3bf7
Branch: refs/heads/master
Commit: b68b3bf784f9e8ab05ec6b0d73d38ab71f0853c3
Parents: ed3be21
Author: stack <st...@apache.org>
Authored: Sun Oct 12 23:07:19 2014 -0700
Committer: stack <st...@apache.org>
Committed: Sun Oct 12 23:08:13 2014 -0700
----------------------------------------------------------------------
bin/hbase-daemon.sh | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
----------------------------------------------------------------------
http://git-wip-us.apache.org/repos/asf/hbase/blob/b68b3bf7/bin/hbase-daemon.sh
----------------------------------------------------------------------
diff --git a/bin/hbase-daemon.sh b/bin/hbase-daemon.sh
index 9d9f698..4dcc520 100755
--- a/bin/hbase-daemon.sh
+++ b/bin/hbase-daemon.sh
@@ -255,7 +255,6 @@ case $startStop in
echo "`date` Terminating $command" >> $loglog
kill $pidToKill > /dev/null 2>&1
waitForProcessEnd $pidToKill $command
- rm $pid
else
retval=$?
echo no $command to stop because kill -0 of pid $pidToKill failed with status $retval
@@ -263,6 +262,7 @@ case $startStop in
else
echo no $command to stop because no pid file $pid
fi
+ rm -f $pid
;;
(restart)