diff --git a/hbase-server/src/main/jamon/org/apache/hadoop/hbase/tmpl/regionserver/BlockCacheTmpl.jamon b/hbase-server/src/main/jamon/org/apache/hadoop/hbase/tmpl/regionserver/BlockCacheTmpl.jamon index b13a1d9d60e..6986f129946 100644 --- a/hbase-server/src/main/jamon/org/apache/hadoop/hbase/tmpl/regionserver/BlockCacheTmpl.jamon +++ b/hbase-server/src/main/jamon/org/apache/hadoop/hbase/tmpl/regionserver/BlockCacheTmpl.jamon @@ -304,12 +304,10 @@ are combined counts. Request count is sum of hits and misses.
boolean bucketCache = bc.getClass().getSimpleName().equals("BucketCache"); BucketCacheStats bucketCacheStats = null; BucketAllocator bucketAllocator = null; - Bucket [] buckets = null; if (bucketCache) { bucketCacheStats = (BucketCacheStats)bc.getStats(); bucketAllocator = ((BucketCache)bc).getAllocator(); - buckets = bucketAllocator.getBuckets(); } %java> <%if cbsbf.isFull() %> @@ -375,26 +373,6 @@ are combined counts. Request count is sum of hits and misses. <%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
-Bucket Offset | -Allocation Size | -Free Bytes | -Used Bytes | -
---|---|---|---|
<% bucket.getBaseOffset() %> | -<% bucket.getItemAllocationSize() %> | -<% bucket.getFreeBytes() %> | -<% bucket.getUsedBytes() %> | -