[ https://issues.apache.org/jira/browse/HBASE-28011?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Viraj Jasani resolved HBASE-28011. ---------------------------------- Fix Version/s: 2.6.0 2.4.18 2.5.6 3.0.0-beta-1 Hadoop Flags: Reviewed Resolution: Fixed > The logStats about LruBlockCache is not accurate > ------------------------------------------------ > > Key: HBASE-28011 > URL: https://issues.apache.org/jira/browse/HBASE-28011 > Project: HBase > Issue Type: Bug > Components: BlockCache > Affects Versions: 2.4.13 > Environment: Centos 7.6 > HBase 2.4.13 > Reporter: guluo > Assignee: guluo > Priority: Minor > Fix For: 2.6.0, 2.4.18, 2.5.6, 3.0.0-beta-1 > > > LruBlockCache.logStats would print info, as follow: > {code:java} > //代码占位符 > INFO [LruBlockCacheStatsExecutor] hfile.LruBlockCache: totalSize=2.42 MB, > freeSize=3.20 GB, max=3.20 GB, blockCount=14, accesses=31200, hits=31164, > hitRatio=99.88%, , cachingAccesses=31179, cachingHits=31156, > cachingHitsRatio=99.93%, evictions=426355, evicted=0, evictedPerRun=0.0 {code} > I think the description about *totalSize=2.42 MB* is not accurate, It > actually represents the used size of BlockCache. -- This message was sent by Atlassian Jira (v8.20.10#820010)