PDavid commented on code in PR #6982:
URL: https://github.com/apache/hbase/pull/6982#discussion_r2084479281


##########
bin/hbase-daemon.sh:
##########
@@ -376,6 +376,19 @@ case $startStop in
     wait_until_done $!
   ;;
 
+(status)
+    if [ -f $HBASE_PID ]; then
+      pid=`cat $HBASE_PID`
+      if kill -0 "$pid" > /dev/null 2>&1; then

Review Comment:
   Today I learned about this `kill -0` trick, nice. :) 



-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: [email protected]

For queries about this service, please contact Infrastructure at:
[email protected]

Reply via email to