diff --git a/hbase-client/src/main/java/org/apache/hadoop/hbase/ipc/IPCUtil.java b/hbase-client/src/main/java/org/apache/hadoop/hbase/ipc/IPCUtil.java index b7933370fc0..a2c1d62aae8 100644 --- a/hbase-client/src/main/java/org/apache/hadoop/hbase/ipc/IPCUtil.java +++ b/hbase-client/src/main/java/org/apache/hadoop/hbase/ipc/IPCUtil.java @@ -102,9 +102,11 @@ class IPCUtil { os.close(); if (poolCompressor != null) CodecPool.returnCompressor(poolCompressor); } - if (this.cellBlockBuildingInitialBufferSize < baos.size()) { - LOG.warn("Buffer grew from " + this.cellBlockBuildingInitialBufferSize + - " to " + baos.size()); + if (LOG.isTraceEnabled()) {} + if (this.cellBlockBuildingInitialBufferSize < baos.size()) { + LOG.trace("Buffer grew from " + this.cellBlockBuildingInitialBufferSize + + " to " + baos.size()); + } } return baos.getByteBuffer(); } @@ -243,4 +245,4 @@ class IPCUtil { Preconditions.checkArgument(totalSize < Integer.MAX_VALUE); return totalSize; } -} \ No newline at end of file +}