You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@hbase.apache.org by zh...@apache.org on 2018/02/08 08:57:18 UTC
[02/18] hbase git commit: HBASE-19940 TestMetaShutdownHandler flakey;
ADDENDUM: yet more debug
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/HBASE-19064
Commit: 001f9cc5ea7d00fceb24cbcbf6399ecf272882e4
Parents: 590bee7
Author: Michael Stack <st...@apache.org>
Authored: Tue Feb 6 09:47:30 2018 -0800
Committer: Michael Stack <st...@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();
}