diff --git a/hbase-common/src/main/java/org/apache/hadoop/hbase/io/ByteBufferPool.java b/hbase-common/src/main/java/org/apache/hadoop/hbase/io/ByteBufferPool.java index 48f8462ece0d..920e2ec30139 100644 --- a/hbase-common/src/main/java/org/apache/hadoop/hbase/io/ByteBufferPool.java +++ b/hbase-common/src/main/java/org/apache/hadoop/hbase/io/ByteBufferPool.java @@ -80,8 +80,9 @@ public ByteBufferPool(int bufferSize, int maxPoolSize, boolean directByteBuffer) this.maxPoolSize = maxPoolSize; this.directByteBuffer = directByteBuffer; // TODO can add initialPoolSize config also and make those many BBs ready for use. - LOG.info("Created with bufferSize={} and maxPoolSize={}", - org.apache.hadoop.util.StringUtils.byteDesc(bufferSize), maxPoolSize); + LOG.info("Created with bufferSize={}, maxPoolSize={} and totalBufferSize={}", + org.apache.hadoop.util.StringUtils.byteDesc(bufferSize), maxPoolSize, + org.apache.hadoop.util.StringUtils.byteDesc(bufferSize * maxPoolSize)); this.count = new AtomicInteger(0); }