hbase-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From apurt...@apache.org
Subject [5/5] hbase git commit: HBASE-17780 BoundedByteBufferPool "At capacity" messages are not actionable
Date Tue, 14 Mar 2017 20:24:25 GMT
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 <apurtell@apache.org>
Authored: Tue Mar 14 13:23:11 2017 -0700
Committer: Andrew Purtell <apurtell@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;


Mime
View raw message