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 2013/03/26 16:06:42 UTC

svn commit: r1461166 - /hbase/branches/0.95/bin/hbase-common.sh

Author: stack
Date: Tue Mar 26 15:06:42 2013
New Revision: 1461166

URL: http://svn.apache.org/r1461166
Log:
HBASE-7908 Add jstack logs in hbase-common.sh when killing the server

Modified:
    hbase/branches/0.95/bin/hbase-common.sh

Modified: hbase/branches/0.95/bin/hbase-common.sh
URL: http://svn.apache.org/viewvc/hbase/branches/0.95/bin/hbase-common.sh?rev=1461166&r1=1461165&r2=1461166&view=diff
==============================================================================
--- hbase/branches/0.95/bin/hbase-common.sh (original)
+++ hbase/branches/0.95/bin/hbase-common.sh Tue Mar 26 15:06:42 2013
@@ -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.