hbase-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From apurt...@apache.org
Subject [3/4] hbase git commit: HBASE-18623 Frequent failed to parse at EOF warnings from WALEntryStream
Date Mon, 21 Aug 2017 16:29:38 GMT
HBASE-18623 Frequent failed to parse at EOF warnings from WALEntryStream


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

Branch: refs/heads/master
Commit: 70d48b113e3b824e2804164e80edf01522c85272
Parents: 192e873
Author: Andrew Purtell <apurtell@apache.org>
Authored: Fri Aug 18 17:13:51 2017 -0700
Committer: Andrew Purtell <apurtell@apache.org>
Committed: Mon Aug 21 09:29:24 2017 -0700

----------------------------------------------------------------------
 .../hbase/replication/regionserver/WALEntryStream.java       | 8 +++++---
 1 file changed, 5 insertions(+), 3 deletions(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/hbase/blob/70d48b11/hbase-server/src/main/java/org/apache/hadoop/hbase/replication/regionserver/WALEntryStream.java
----------------------------------------------------------------------
diff --git a/hbase-server/src/main/java/org/apache/hadoop/hbase/replication/regionserver/WALEntryStream.java
b/hbase-server/src/main/java/org/apache/hadoop/hbase/replication/regionserver/WALEntryStream.java
index 4f49955..3942d23 100644
--- a/hbase-server/src/main/java/org/apache/hadoop/hbase/replication/regionserver/WALEntryStream.java
+++ b/hbase-server/src/main/java/org/apache/hadoop/hbase/replication/regionserver/WALEntryStream.java
@@ -233,9 +233,11 @@ public class WALEntryStream implements Iterator<Entry>, Closeable,
Iterable<Entr
       if (trailerSize < 0) {
         if (currentPosition < stat.getLen()) {
           final long skippedBytes = stat.getLen() - currentPosition;
-          LOG.info("Reached the end of WAL file '" + currentPath
-              + "'. It was not closed cleanly, so we did not parse " + skippedBytes
-              + " bytes of data.");
+          if (LOG.isDebugEnabled()) {
+            LOG.debug("Reached the end of WAL file '" + currentPath
+                + "'. It was not closed cleanly, so we did not parse " + skippedBytes
+                + " bytes of data. This is normally ok.");
+          }
           metrics.incrUncleanlyClosedWALs();
           metrics.incrBytesSkippedInUncleanlyClosedWALs(skippedBytes);
         }


Mime
View raw message