You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@hbase.apache.org by se...@apache.org on 2013/05/31 01:36:35 UTC
svn commit: r1488052 -
/hbase/trunk/hbase-server/src/main/java/org/apache/hadoop/hbase/io/hfile/LruBlockCache.java
Author: sershe
Date: Thu May 30 23:36:34 2013
New Revision: 1488052
URL: http://svn.apache.org/r1488052
Log:
HBASE-8659 LruBlockCache logs too much
Modified:
hbase/trunk/hbase-server/src/main/java/org/apache/hadoop/hbase/io/hfile/LruBlockCache.java
Modified: hbase/trunk/hbase-server/src/main/java/org/apache/hadoop/hbase/io/hfile/LruBlockCache.java
URL: http://svn.apache.org/viewvc/hbase/trunk/hbase-server/src/main/java/org/apache/hadoop/hbase/io/hfile/LruBlockCache.java?rev=1488052&r1=1488051&r2=1488052&view=diff
==============================================================================
--- hbase/trunk/hbase-server/src/main/java/org/apache/hadoop/hbase/io/hfile/LruBlockCache.java (original)
+++ hbase/trunk/hbase-server/src/main/java/org/apache/hadoop/hbase/io/hfile/LruBlockCache.java Thu May 30 23:36:34 2013
@@ -463,8 +463,8 @@ public class LruBlockCache implements Bl
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 Bl
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) + ", " +