HBASE-17780 BoundedByteBufferPool "At capacity" messages are not actionable


Project: http://git-wip-us.apache.org/repos/asf/hbase/repo
Commit: http://git-wip-us.apache.org/repos/asf/hbase/commit/3ced5e4c
Tree: http://git-wip-us.apache.org/repos/asf/hbase/tree/3ced5e4c
Diff: http://git-wip-us.apache.org/repos/asf/hbase/diff/3ced5e4c

Branch: refs/heads/branch-1.1
Commit: 3ced5e4c5e64b18519aa99d950ac2c0599e49b1f
Parents: ab9071f
Author: Andrew Purtell <apurt...@apache.org>
Authored: Tue Mar 14 13:23:11 2017 -0700
Committer: Andrew Purtell <apurt...@apache.org>
Committed: Tue Mar 14 13:24:06 2017 -0700

----------------------------------------------------------------------
 .../java/org/apache/hadoop/hbase/io/BoundedByteBufferPool.java   | 4 +++-
 1 file changed, 3 insertions(+), 1 deletion(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/hbase/blob/3ced5e4c/hbase-common/src/main/java/org/apache/hadoop/hbase/io/BoundedByteBufferPool.java
----------------------------------------------------------------------
diff --git 
a/hbase-common/src/main/java/org/apache/hadoop/hbase/io/BoundedByteBufferPool.java
 
b/hbase-common/src/main/java/org/apache/hadoop/hbase/io/BoundedByteBufferPool.java
index 37b7bd3..b4394a4 100644
--- 
a/hbase-common/src/main/java/org/apache/hadoop/hbase/io/BoundedByteBufferPool.java
+++ 
b/hbase-common/src/main/java/org/apache/hadoop/hbase/io/BoundedByteBufferPool.java
@@ -121,7 +121,9 @@ public class BoundedByteBufferPool {
       lock.unlock();
     }
     if (!success) {
-      LOG.warn("At capacity: " + this.buffers.size());
+      if (LOG.isDebugEnabled()) {
+        LOG.debug("At capacity: " + this.buffers.size());
+      }
     } else {
       if (average > this.runningAverage && average < 
this.maxByteBufferSizeToCache) {
         this.runningAverage = average;

Reply via email to