HBASE-19940 TestMetaShutdownHandler flakey; ADDENDUM: more debug
This commit is contained in:
parent
77153d4dc6
commit
590bee78dc
|
@ -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();
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue