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/48cbce7c Tree: http://git-wip-us.apache.org/repos/asf/hbase/tree/48cbce7c Diff: http://git-wip-us.apache.org/repos/asf/hbase/diff/48cbce7c Branch: refs/heads/branch-1.3 Commit: 48cbce7ce07a795786d2240f55577a7aeaf041cc Parents: 834488d 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:00 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/48cbce7c/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 acd7a18..4d52614 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 @@ -126,7 +126,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;