hbase-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From zhang...@apache.org
Subject [hbase] branch branch-2.1 updated: HBASE-21832 Backport parent "HBASE-21595 Print thread's information and stack traces when RS is aborting forcibly" to branch-2.0/2.1
Date Sun, 03 Feb 2019 07:21:17 GMT
This is an automated email from the ASF dual-hosted git repository.

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


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

commit 1ee57edc72621d64328abecef74a6b7b688a2f63
Author: Pankaj <pankaj.kr@huawei.com>
AuthorDate: Sun Feb 3 01:48:24 2019 +0530

    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>
---
 .../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 4a19dfa..f54e220 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
@@ -3774,7 +3774,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);
     }
   }


Mime
View raw message