hbase-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From st...@apache.org
Subject svn commit: r1461166 - /hbase/branches/0.95/bin/hbase-common.sh
Date Tue, 26 Mar 2013 15:06:42 GMT
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.



Mime
View raw message