Skip to content

Commit

Permalink
term handler needs to send signal
Browse files Browse the repository at this point in the history
  • Loading branch information
ndimiduk committed Mar 17, 2023
1 parent 9bfb243 commit 4fdeece
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions bin/hbase-daemon.sh
Original file line number Diff line number Diff line change
Expand Up @@ -89,6 +89,7 @@ function sighup_handler
function sigterm_handler
{
if [ -f "${HBASE_PID}" ]; then
kill -s TERM "$(cat "${HBASE_PID}")"
waitForProcessEnd "$(cat "${HBASE_PID}")" "${command}"
fi
cleanAfterRun
Expand Down

0 comments on commit 4fdeece

Please sign in to comment.