hbase-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From apurt...@apache.org
Subject [4/6] hbase git commit: HBASE-16589 Adjust log level for FATAL messages from HBaseReplicationEndpoint that are not fatal
Date Thu, 08 Sep 2016 21:17:09 GMT
HBASE-16589 Adjust log level for FATAL messages from HBaseReplicationEndpoint that are not
fatal


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

Branch: refs/heads/branch-1.1
Commit: ff914375f6954dc78760edb049c9cb9f86e7aa83
Parents: 6e076d9
Author: Andrew Purtell <apurtell@apache.org>
Authored: Thu Sep 8 13:03:12 2016 -0700
Committer: Andrew Purtell <apurtell@apache.org>
Committed: Thu Sep 8 13:04:00 2016 -0700

----------------------------------------------------------------------
 .../hadoop/hbase/replication/HBaseReplicationEndpoint.java       | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/hbase/blob/ff914375/hbase-server/src/main/java/org/apache/hadoop/hbase/replication/HBaseReplicationEndpoint.java
----------------------------------------------------------------------
diff --git a/hbase-server/src/main/java/org/apache/hadoop/hbase/replication/HBaseReplicationEndpoint.java
b/hbase-server/src/main/java/org/apache/hadoop/hbase/replication/HBaseReplicationEndpoint.java
index de82b7e..9d39718 100644
--- a/hbase-server/src/main/java/org/apache/hadoop/hbase/replication/HBaseReplicationEndpoint.java
+++ b/hbase-server/src/main/java/org/apache/hadoop/hbase/replication/HBaseReplicationEndpoint.java
@@ -128,7 +128,7 @@ public abstract class HBaseReplicationEndpoint extends BaseReplicationEndpoint
 
   @Override
   public void abort(String why, Throwable e) {
-    LOG.fatal("The HBaseReplicationEndpoint corresponding to peer " + ctx.getPeerId()
+    LOG.error("The HBaseReplicationEndpoint corresponding to peer " + ctx.getPeerId()
         + " was aborted for the following reason(s):" + why, e);
   }
 
@@ -217,7 +217,7 @@ public abstract class HBaseReplicationEndpoint extends BaseReplicationEndpoint
           LOG.info("Detected change to peer region servers, fetching updated list");
           replicationEndpoint.setRegionServers(fetchSlavesAddresses(replicationEndpoint.getZkw()));
         } catch (KeeperException e) {
-          LOG.fatal("Error reading slave addresses", e);
+          LOG.error("Error reading slave addresses", e);
         }
       }
     }


Mime
View raw message