From bd42fbca6d87f94b053bc277bf6931a942bbaefb Mon Sep 17 00:00:00 2001 From: Andrew Purtell Date: Wed, 5 Nov 2014 18:47:04 -0800 Subject: [PATCH] HBASE-12419 'Partial cell read caused by EOF' ERRORs on replication source --- .../main/java/org/apache/hadoop/hbase/codec/BaseDecoder.java | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/hbase-common/src/main/java/org/apache/hadoop/hbase/codec/BaseDecoder.java b/hbase-common/src/main/java/org/apache/hadoop/hbase/codec/BaseDecoder.java index d7f9f08319d..3776c082dfb 100644 --- a/hbase-common/src/main/java/org/apache/hadoop/hbase/codec/BaseDecoder.java +++ b/hbase-common/src/main/java/org/apache/hadoop/hbase/codec/BaseDecoder.java @@ -63,7 +63,9 @@ public abstract class BaseDecoder implements Codec.Decoder { LOG.trace("Error getting available for error message - ignoring", t); } if (!isEof) throw ioEx; - LOG.error("Partial cell read caused by EOF: " + ioEx); + if (LOG.isTraceEnabled()) { + LOG.trace("Partial cell read caused by EOF", ioEx); + } EOFException eofEx = new EOFException("Partial cell read"); eofEx.initCause(ioEx); throw eofEx;