HBASE-21595, Print thread's information and stack traces when RS is aborting forcibly

This commit is contained in:
Pankaj 2018-12-18 01:03:08 +05:30 committed by stack
parent 1200733cd9
commit a9f40d3bf7
1 changed files with 2 additions and 1 deletions

View File

@ -3787,7 +3787,8 @@ public class HRegionServer extends HasThread implements
@Override
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);
}
}