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

This commit is contained in:
Andrew Purtell 2017-03-14 13:23:11 -07:00
parent 318298047b
commit d7666b6066
1 changed files with 3 additions and 1 deletions

View File

@ -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;