From 36fe383b6815d609b1a7e821acf0c0bcdf421681 Mon Sep 17 00:00:00 2001 From: Andrew Purtell Date: Wed, 5 Nov 2014 17:03:11 -0800 Subject: [PATCH] HBASE-12419 'Partial cell read caused by EOF' ERRORs on replication source --- .../src/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 2bd650f..51801a8 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; -- 1.7.12.4 (Apple Git-37)