hbase-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From te...@apache.org
Subject hbase git commit: HBASE-18959 Backport HBASE-18874 (HMaster abort message will be skipped if Throwable is passed null) to branch-1 (Pankaj Kumar)
Date Wed, 11 Oct 2017 22:33:06 GMT
Repository: hbase
Updated Branches:
  refs/heads/branch-1.4 ce4bd29ae -> 22e2539d0


HBASE-18959 Backport HBASE-18874 (HMaster abort message will be skipped if Throwable is passed
null) to branch-1 (Pankaj Kumar)


Project: http://git-wip-us.apache.org/repos/asf/hbase/repo
Commit: http://git-wip-us.apache.org/repos/asf/hbase/commit/22e2539d
Tree: http://git-wip-us.apache.org/repos/asf/hbase/tree/22e2539d
Diff: http://git-wip-us.apache.org/repos/asf/hbase/diff/22e2539d

Branch: refs/heads/branch-1.4
Commit: 22e2539d0cc4c987e6871a7cd4945f3f25d48774
Parents: ce4bd29
Author: tedyu <yuzhihong@gmail.com>
Authored: Wed Oct 11 15:32:58 2017 -0700
Committer: tedyu <yuzhihong@gmail.com>
Committed: Wed Oct 11 15:32:58 2017 -0700

----------------------------------------------------------------------
 .../src/main/java/org/apache/hadoop/hbase/master/HMaster.java  | 6 +++++-
 1 file changed, 5 insertions(+), 1 deletion(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/hbase/blob/22e2539d/hbase-server/src/main/java/org/apache/hadoop/hbase/master/HMaster.java
----------------------------------------------------------------------
diff --git a/hbase-server/src/main/java/org/apache/hadoop/hbase/master/HMaster.java b/hbase-server/src/main/java/org/apache/hadoop/hbase/master/HMaster.java
index 29307c9..8a3bbd6 100644
--- a/hbase-server/src/main/java/org/apache/hadoop/hbase/master/HMaster.java
+++ b/hbase-server/src/main/java/org/apache/hadoop/hbase/master/HMaster.java
@@ -2550,7 +2550,11 @@ public class HMaster extends HRegionServer implements MasterServices,
Server {
       LOG.fatal("Master server abort: loaded coprocessors are: " +
           getLoadedCoprocessors());
     }
-    if (t != null) LOG.fatal(msg, t);
+    if (t != null) {
+      LOG.fatal(msg, t);
+    } else {
+      LOG.fatal(msg);
+    }
 
     try {
       stopMaster();


Mime
View raw message