[ 
https://issues.apache.org/jira/browse/HBASE-19940?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16353943#comment-16353943
 ] 

stack commented on HBASE-19940:
-------------------------------

Add more debug w/ the below:

commit 590bee78dc9cb08a7b2d0eb5205d9dae65a8800a
Author: Michael Stack <[email protected]>
Date:   Tue Feb 6 06:34:49 2018 -0800

    HBASE-19940 TestMetaShutdownHandler flakey; ADDENDUM: more debug

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 172c170b92..0d410fc916 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,10 +297,10 @@ public class JVMClusterUtil {
         for (RegionServerThread t : regionservers) {
           if (t.isAlive()) {
             LOG.warn("RegionServerThreads taking too long to stop, 
interrupting; thread dump "  +
-              "if > three attempts");
+              "if > three attempts: i=" + i);
             if (i > 3) {
               try {
-                Threads.threadDumpingIsAlive(t.getRegionServer().getThread());
+                Threads.threadDumpingIsAlive(t);
               } catch (InterruptedException e) {
                 e.printStackTrace();
               }

I seem to have been passing the wrong thread.... we are not getting the wanted 
thread dumps out of the hanging RS. Pushed the above on master and branch-2.

> TestMetaShutdownHandler flakey
> ------------------------------
>
>                 Key: HBASE-19940
>                 URL: https://issues.apache.org/jira/browse/HBASE-19940
>             Project: HBase
>          Issue Type: Sub-task
>            Reporter: stack
>            Priority: Major
>             Fix For: 2.0.0-beta-2
>
>         Attachments: HBASE-19940.master.001.patch
>
>
> Fails 13% of the time. One of the RS won't go down. It has an errant thread 
> running. Not sure what.



--
This message was sent by Atlassian JIRA
(v7.6.3#76005)

Reply via email to