HBASE-19940 TestMetaShutdownHandler flakey; ADDENDUM: yet more debug

This commit is contained in:
Michael Stack 2018-02-06 09:47:30 -08:00
parent 590bee78dc
commit 001f9cc5ea
1 changed files with 2 additions and 6 deletions

View File

@ -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();
}