HBASE-21832 Backport parent "HBASE-21595 Print thread's information and stack traces when RS is aborting forcibly" to branch-2.0/2.1
Signed-off-by: zhangduo <zhangduo@apache.org>
This commit is contained in:
parent
f26b73e618
commit
1ee57edc72
@ -3774,7 +3774,8 @@ public class HRegionServer extends HasThread implements
|
|||||||
private static class SystemExitWhenAbortTimeout extends TimerTask {
|
private static class SystemExitWhenAbortTimeout extends TimerTask {
|
||||||
@Override
|
@Override
|
||||||
public void run() {
|
public void run() {
|
||||||
LOG.warn("Aborting region server timed out, terminate forcibly...");
|
LOG.warn("Aborting region server timed out, terminating forcibly. Thread dump to stdout.");
|
||||||
|
Threads.printThreadInfo(System.out, "Zombie HRegionServer");
|
||||||
System.exit(1);
|
System.exit(1);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
Loading…
x
Reference in New Issue
Block a user