HBASE-7908 Add jstack logs in hbase-common.sh when killing the server

git-svn-id: https://svn.apache.org/repos/asf/hbase/trunk@1461167 13f79535-47bb-0310-9956-ffa450edef68
This commit is contained in:
Michael Stack 2013-03-26 15:07:08 +00:00
parent fbf0b65205
commit 4781357ef3
1 changed files with 1 additions and 0 deletions

View File

@ -33,6 +33,7 @@ waitForProcessEnd() {
# process still there : kill -9
if kill -0 $pidKilled > /dev/null 2>&1; then
echo -n force stopping $commandName with kill -9 $pidKilled
$JAVA_HOME/bin/jstack -l $pidKilled > "$logout" 2>&1
kill -9 $pidKilled > /dev/null 2>&1
fi
# Add a CR after we're done w/ dots.