hbase-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From st...@apache.org
Subject hbase git commit: HBASE-19940 TestMetaShutdownHandler flakey; ADDENDUM: yet more debug
Date Tue, 06 Feb 2018 17:48:06 GMT
Repository: hbase
Updated Branches:
  refs/heads/master 590bee78d -> 001f9cc5e


    HBASE-19940 TestMetaShutdownHandler flakey; ADDENDUM: yet more debug


Project: http://git-wip-us.apache.org/repos/asf/hbase/repo
Commit: http://git-wip-us.apache.org/repos/asf/hbase/commit/001f9cc5
Tree: http://git-wip-us.apache.org/repos/asf/hbase/tree/001f9cc5
Diff: http://git-wip-us.apache.org/repos/asf/hbase/diff/001f9cc5

Branch: refs/heads/master
Commit: 001f9cc5ea7d00fceb24cbcbf6399ecf272882e4
Parents: 590bee7
Author: Michael Stack <stack@apache.org>
Authored: Tue Feb 6 09:47:30 2018 -0800
Committer: Michael Stack <stack@apache.org>
Committed: Tue Feb 6 09:47:30 2018 -0800

----------------------------------------------------------------------
 .../java/org/apache/hadoop/hbase/util/JVMClusterUtil.java    | 8 ++------
 1 file changed, 2 insertions(+), 6 deletions(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/hbase/blob/001f9cc5/hbase-server/src/main/java/org/apache/hadoop/hbase/util/JVMClusterUtil.java
----------------------------------------------------------------------
diff --git a/hbase-server/src/main/java/org/apache/hadoop/hbase/util/JVMClusterUtil.java b/hbase-server/src/main/java/org/apache/hadoop/hbase/util/JVMClusterUtil.java
index 0d410fc..ee7ecf3 100644
--- a/hbase-server/src/main/java/org/apache/hadoop/hbase/util/JVMClusterUtil.java
+++ b/hbase-server/src/main/java/org/apache/hadoop/hbase/util/JVMClusterUtil.java
@@ -297,13 +297,9 @@ public class JVMClusterUtil {
         for (RegionServerThread t : regionservers) {
           if (t.isAlive()) {
             LOG.warn("RegionServerThreads taking too long to stop, interrupting; thread dump
"  +
-              "if > three attempts: i=" + i);
+              "if > 3 attempts: i=" + i);
             if (i > 3) {
-              try {
-                Threads.threadDumpingIsAlive(t);
-              } catch (InterruptedException e) {
-                e.printStackTrace();
-              }
+              Threads.printThreadInfo(System.out, "Thread dump " + t.getName());
             }
             t.interrupt();
           }


Mime
View raw message