saintstack commented on code in PR #5035:
URL: https://github.com/apache/hbase/pull/5035#discussion_r1110105465
##########
bin/hbase-daemon.sh:
##########
@@ -78,22 +78,33 @@ hbase_rotate_log ()
fi
}
-cleanAfterRun() {
- if [ -f ${HBASE_PID} ]; then
- # If the process is still running time to tear it down.
- kill -9 `cat ${HBASE_PID}` > /dev/null 2>&1
- rm -f ${HBASE_PID} > /dev/null 2>&1
+function sighup_handler
+{
+ # pass through SIGHUP if we can
+ if [ -f "${HBASE_PID}" ] ; then
+ kill -s HUP "$(cat "${HBASE_PID}")"
Review Comment:
You'd rather see the output than /dev/null it? And does the old pid stick
around now?
--
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]