You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@hbase.apache.org by st...@apache.org on 2019/01/15 20:14:45 UTC
[hbase] branch branch-2 updated: HBASE-21595,
Print thread's information and stack traces when RS is aborting
forcibly
This is an automated email from the ASF dual-hosted git repository.
stack pushed a commit to branch branch-2
in repository https://gitbox.apache.org/repos/asf/hbase.git
The following commit(s) were added to refs/heads/branch-2 by this push:
new a9f40d3 HBASE-21595, Print thread's information and stack traces when RS is aborting forcibly
a9f40d3 is described below
commit a9f40d3bf72fc618ffe30e76ea6e03d460918ac5
Author: Pankaj <pa...@huawei.com>
AuthorDate: Tue Dec 18 01:03:08 2018 +0530
HBASE-21595, Print thread's information and stack traces when RS is aborting forcibly
---
.../main/java/org/apache/hadoop/hbase/regionserver/HRegionServer.java | 3 ++-
1 file changed, 2 insertions(+), 1 deletion(-)
diff --git a/hbase-server/src/main/java/org/apache/hadoop/hbase/regionserver/HRegionServer.java b/hbase-server/src/main/java/org/apache/hadoop/hbase/regionserver/HRegionServer.java
index bbae268..5443a8c 100644
--- a/hbase-server/src/main/java/org/apache/hadoop/hbase/regionserver/HRegionServer.java
+++ b/hbase-server/src/main/java/org/apache/hadoop/hbase/regionserver/HRegionServer.java
@@ -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);
}
}