hbase-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From st...@apache.org
Subject svn commit: r966877 - /hbase/trunk/src/main/java/org/apache/hadoop/hbase/io/hfile/LruBlockCache.java
Date Thu, 22 Jul 2010 22:15:07 GMT
Author: stack
Date: Thu Jul 22 22:15:07 2010
New Revision: 966877

URL: http://svn.apache.org/viewvc?rev=966877&view=rev
Log:
HBASE-2865 Cleanup of LRU logging; its hard to read, uses custom MB'maker, repeats info, too
many numbers after the point, etc.

Modified:
    hbase/trunk/src/main/java/org/apache/hadoop/hbase/io/hfile/LruBlockCache.java

Modified: hbase/trunk/src/main/java/org/apache/hadoop/hbase/io/hfile/LruBlockCache.java
URL: http://svn.apache.org/viewvc/hbase/trunk/src/main/java/org/apache/hadoop/hbase/io/hfile/LruBlockCache.java?rev=966877&r1=966876&r2=966877&view=diff
==============================================================================
--- hbase/trunk/src/main/java/org/apache/hadoop/hbase/io/hfile/LruBlockCache.java (original)
+++ hbase/trunk/src/main/java/org/apache/hadoop/hbase/io/hfile/LruBlockCache.java Thu Jul
22 22:15:07 2010
@@ -555,11 +555,9 @@ public class LruBlockCache implements Bl
         "blocks=" + size() +", " +
         "accesses=" + stats.getRequestCount() + ", " +
         "hits=" + stats.getHitCount() + ", " +
-        "misses=" + stats.getMissCount() + ", " +
+        "hitRatio=" + StringUtils.formatPercent(stats.getHitRatio(), 2) + "%, " +
         "evictions=" + stats.getEvictionCount() + ", " +
         "evicted=" + stats.getEvictedCount() + ", " +
-        "hitRatio=" + StringUtils.formatPercent(stats.getHitRatio(), 2) + "%, " +
-        "missRatio=" + StringUtils.formatPercent(stats.getMissRatio(), 2) + "%, " +
         "evictedPerRun=" + stats.evictedPerEviction());
   }
 



Mime
View raw message