diff --git a/hbase-server/pom.xml b/hbase-server/pom.xml
index 3ccc73884dc..9f8a17ac849 100644
--- a/hbase-server/pom.xml
+++ b/hbase-server/pom.xml
@@ -471,6 +471,11 @@
If block cache is made up of more than one cache -- i.e. a L1 and a L2 -- then the above
are combined counts. Request count is sum of hits and misses.
+
+ Hits
+ <% String.format("%,d", bc.getStats().getHitCount()) %>
+ Number requests that were cache hits
+
+
+ Hits Caching
+ <% String.format("%,d", bc.getStats().getHitCachingCount()) %>
+ Cache hit block requests but only requests set to cache block if a miss
+
+
+ Misses
+ <% String.format("%,d", bc.getStats().getMissCount()) %>
+ Block requests that were cache misses but set to cache missed blocks
+
+
+ Misses Caching
+ <% String.format("%,d", bc.getStats().getMissCount()) %>
+ Block requests that were cache misses but only requests set to use block cache
+
+
+
+%def>
+
<%def bc_stats>
<%args>
CacheConfig cacheConfig;
@@ -235,31 +267,7 @@ org.apache.hadoop.util.StringUtils;
Hit Ratio
+ <% String.format("%,.2f", bc.getStats().getHitRatio() * 100) %><% "%" %>
+ Hit Count divided by total requests count
+ Number of blocks in block cache
<& evictions_tmpl; bc = cacheConfig.getBlockCache(); &>
-
-
- Hits
- <% String.format("%,d", cacheConfig.getBlockCache().getStats().getHitCount()) %>
- Number requests that were cache hits
-
-
- Hits Caching
- <% String.format("%,d", cacheConfig.getBlockCache().getStats().getHitCachingCount()) %>
- Cache hit block requests but only requests set to cache block if a miss
-
-
- Misses
- <% String.format("%,d", cacheConfig.getBlockCache().getStats().getMissCount()) %>
- Block requests that were cache misses but set to cache missed blocks
-
-
- Misses Caching
- <% String.format("%,d", cacheConfig.getBlockCache().getStats().getMissCount()) %>
- Block requests that were cache misses but only requests set to use block cache
-
-
+ <& hits_tmpl; bc = cacheConfig.getBlockCache(); &>
Hit Ratio
- <% String.format("%,.2f", cacheConfig.getBlockCache().getStats().getHitRatio() * 100) %><% "%" %>
- Hit Count divided by total requests count
-