HBASE-19940 TestMetaShutdownHandler flakey; ADDENDUM: more debug

This commit is contained in:
Michael Stack 2018-02-06 06:34:49 -08:00
parent fb480775d5
commit ca6b37d63c
1 changed files with 2 additions and 2 deletions

View File

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