HBASE-12419 'Partial cell read caused by EOF' ERRORs on replication source

This commit is contained in:
Andrew Purtell 2014-11-05 18:47:04 -08:00
parent 15f96c7a00
commit bd42fbca6d
1 changed files with 3 additions and 1 deletions

View File

@ -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;