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-14042 Fix FATAL level logging in FSHLog where logged for non fatal exceptions
Date Thu, 09 Jul 2015 00:48:09 GMT
HBASE-14042 Fix FATAL level logging in FSHLog where logged for non fatal exceptions


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

Branch: refs/heads/branch-1.1
Commit: 49ee8ce4cafdcb9cbe4e9705eab1074defb28859
Parents: 43397fa
Author: Andrew Purtell <apurtell@apache.org>
Authored: Wed Jul 8 17:37:56 2015 -0700
Committer: Andrew Purtell <apurtell@apache.org>
Committed: Wed Jul 8 17:38:36 2015 -0700

----------------------------------------------------------------------
 .../main/java/org/apache/hadoop/hbase/regionserver/wal/FSHLog.java | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/hbase/blob/49ee8ce4/hbase-server/src/main/java/org/apache/hadoop/hbase/regionserver/wal/FSHLog.java
----------------------------------------------------------------------
diff --git a/hbase-server/src/main/java/org/apache/hadoop/hbase/regionserver/wal/FSHLog.java
b/hbase-server/src/main/java/org/apache/hadoop/hbase/regionserver/wal/FSHLog.java
index 76e93a0..47bdbc1 100644
--- a/hbase-server/src/main/java/org/apache/hadoop/hbase/regionserver/wal/FSHLog.java
+++ b/hbase-server/src/main/java/org/apache/hadoop/hbase/regionserver/wal/FSHLog.java
@@ -2096,7 +2096,7 @@ public class FSHLog implements WAL {
         // Update metrics.
         postAppend(entry, EnvironmentEdgeManager.currentTime() - start);
       } catch (Exception e) {
-        LOG.fatal("Could not append. Requesting close of wal", e);
+        LOG.warn("Could not append. Requesting close of wal", e);
         requestLogRoll();
         throw e;
       }


Mime
View raw message