HBASE-19940 TestMetaShutdownHandler flakey; ADDENDUM: yet more debug
This commit is contained in:
parent
590bee78dc
commit
001f9cc5ea
|
@ -297,13 +297,9 @@ 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: i=" + i);
|
"if > 3 attempts: i=" + i);
|
||||||
if (i > 3) {
|
if (i > 3) {
|
||||||
try {
|
Threads.printThreadInfo(System.out, "Thread dump " + t.getName());
|
||||||
Threads.threadDumpingIsAlive(t);
|
|
||||||
} catch (InterruptedException e) {
|
|
||||||
e.printStackTrace();
|
|
||||||
}
|
|
||||||
}
|
}
|
||||||
t.interrupt();
|
t.interrupt();
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue