HBASE-8659 LruBlockCache logs too much
git-svn-id: https://svn.apache.org/repos/asf/hbase/trunk@1488052 13f79535-47bb-0310-9956-ffa450edef68
This commit is contained in:
parent
17daaca0f3
commit
981df7cce8
|
@ -463,8 +463,8 @@ public class LruBlockCache implements BlockCache, HeapSize {
|
|||
long currentSize = this.size.get();
|
||||
long bytesToFree = currentSize - minSize();
|
||||
|
||||
if (LOG.isDebugEnabled()) {
|
||||
LOG.debug("Block cache LRU eviction started; Attempting to free " +
|
||||
if (LOG.isTraceEnabled()) {
|
||||
LOG.trace("Block cache LRU eviction started; Attempting to free " +
|
||||
StringUtils.byteDesc(bytesToFree) + " of total=" +
|
||||
StringUtils.byteDesc(currentSize));
|
||||
}
|
||||
|
@ -518,11 +518,11 @@ public class LruBlockCache implements BlockCache, HeapSize {
|
|||
remainingBuckets--;
|
||||
}
|
||||
|
||||
if (LOG.isDebugEnabled()) {
|
||||
if (LOG.isTraceEnabled()) {
|
||||
long single = bucketSingle.totalSize();
|
||||
long multi = bucketMulti.totalSize();
|
||||
long memory = bucketMemory.totalSize();
|
||||
LOG.debug("Block cache LRU eviction completed; " +
|
||||
LOG.trace("Block cache LRU eviction completed; " +
|
||||
"freed=" + StringUtils.byteDesc(bytesFreed) + ", " +
|
||||
"total=" + StringUtils.byteDesc(this.size.get()) + ", " +
|
||||
"single=" + StringUtils.byteDesc(single) + ", " +
|
||||
|
|
Loading…
Reference in New Issue