This is an automated email from the ASF dual-hosted git repository.

apurtell pushed a commit to branch branch-1
in repository https://gitbox.apache.org/repos/asf/hbase.git


The following commit(s) were added to refs/heads/branch-1 by this push:
     new 52b8978  HBASE-21595 Print thread's information and stack traces when 
RS is aborting forcibly
52b8978 is described below

commit 52b8978212ed1bdd25259ba6ccc77e731939389d
Author: Pankaj <pankaj...@huawei.com>
AuthorDate: Thu Jan 17 23:34:26 2019 +0530

    HBASE-21595 Print thread's information and stack traces when RS is aborting 
forcibly
    
    Signed-off-by: Andrew Purtell <apurt...@apache.org>
---
 .../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 5f250c0..f7737de 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
@@ -3585,7 +3585,8 @@ public class HRegionServer extends HasThread implements
   private static class SystemExitWhenAbortTimeout extends TimerTask {
     @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);
     }
   }

Reply via email to