guluo created HBASE-28011:
-----------------------------

             Summary: 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


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)

Reply via email to