From 492f1f6d44152c11dae4f11eb2b2f20793f964bf Mon Sep 17 00:00:00 2001
From: Michael Stack See Block Cache in the HBase Reference Guide for help. See block cache in the HBase Reference Guide for help. If Block Cache is made up of more than one cache -- i.e. a L1 and a L2 -- then the above
+ 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.
-Implementation
<% bcName %>
- Block Cache implementing class
+ Block cache implementing class
Size
- <% StringUtils.humanReadableInt(cacheConfig.getBlockCache().size()) %>
- Total size of Block Cache (bytes)
+ <% StringUtils.humanReadableInt(cacheConfig.getBlockCache().getCurrentSize()) %>
+ Current size of block cache in use (bytes)
Free
<% StringUtils.humanReadableInt(cacheConfig.getBlockCache().getFreeSize()) %>
- Free space in Block Cache (bytes)
+ The total free memory currently available to store more cache entries (bytes)
Count
<% String.format("%,d", cacheConfig.getBlockCache().getBlockCount()) %>
- Number of blocks in Block Cache
+ Number of blocks in block cache
Evicted
<% String.format("%,d", cacheConfig.getBlockCache().getStats().getEvictedCount()) %>
- Number of blocks evicted
+ The total number of blocks evicted
Evictions
<% String.format("%,d", cacheConfig.getBlockCache().getStats().getEvictionCount()) %>
- Number of times an eviction occurred
+ The total number of times an eviction has occurred
Hits
@@ -216,17 +216,17 @@ org.apache.hadoop.util.StringUtils;
Hits Caching
<% String.format("%,d", cacheConfig.getBlockCache().getStats().getHitCachingCount()) %>
- Cache hit block requests but only requests set to use Block Cache
+ Cache hit block requests but only requests set to cache block if a miss
Misses
<% String.format("%,d", cacheConfig.getBlockCache().getStats().getMissCount()) %>
- Number of requests that were cache misses
+ 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
+ Block requests that were cache misses but only requests set to use block cache
-Hit Ratio
@@ -234,7 +234,7 @@ org.apache.hadoop.util.StringUtils;
Hit Count divided by total requests count
View Block Cache as JSON | Block Cache as JSON by file
+<%doc>Call through to block cache Detail rendering template%doc> +View block cache as JSON | Block cache as JSON by file
<%if bucketCache %>BucketCache does not discern between DATA and META blocks so we do not show DATA counts (If deploy is using CombinedBlockCache, BucketCache is only DATA blocks