You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@hbase.apache.org by sy...@apache.org on 2017/03/16 17:12:35 UTC

[07/14] hbase git commit: HBASE-17780 BoundedByteBufferPool "At capacity" messages are not actionable

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/14fb57ca
Tree: http://git-wip-us.apache.org/repos/asf/hbase/tree/14fb57ca
Diff: http://git-wip-us.apache.org/repos/asf/hbase/diff/14fb57ca

Branch: refs/heads/hbase-12439
Commit: 14fb57cab2fd8c0117d59669018b09e29bd6e387
Parents: 777fea5
Author: Andrew Purtell <ap...@apache.org>
Authored: Tue Mar 14 13:23:11 2017 -0700
Committer: Andrew Purtell <ap...@apache.org>
Committed: Tue Mar 14 13:23:11 2017 -0700

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


http://git-wip-us.apache.org/repos/asf/hbase/blob/14fb57ca/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 079a277..7bce0e5 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
@@ -155,8 +155,8 @@ public class BoundedByteBufferPool {
       long prevState = stateRef.get();
       countOfBuffers = toCountOfBuffers(prevState);
       if (countOfBuffers >= maxToCache) {
-        if (LOG.isWarnEnabled()) {
-          LOG.warn("At capacity: " + countOfBuffers);
+        if (LOG.isDebugEnabled()) {
+          LOG.debug("At capacity: " + countOfBuffers);
         }
         return;
       }