From e9046a64f4ebbd45a2116c04ab89612f3f6cc61b Mon Sep 17 00:00:00 2001 From: litao Date: Fri, 6 May 2022 14:32:28 +0800 Subject: [PATCH] HBASE-27000 Block cache stats (Misses Caching) display error in RS web UI (#4406) Signed-off-by: Viraj Jasani --- .../apache/hadoop/hbase/tmpl/regionserver/BlockCacheTmpl.jamon | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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 a18e6d4cfc4..68063219d08 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 @@ -210,7 +210,7 @@ org.apache.hadoop.util.StringUtils.TraditionalBinaryPrefix; Misses Caching - <% String.format("%,d", bc.getStats().getMissCount()) %> + <% String.format("%,d", bc.getStats().getMissCachingCount()) %> Block requests that were cache misses but only requests set to use block cache