Uploaded image for project: 'HBase'
  1. HBase
  2. HBASE-28011

The logStats about LruBlockCache is not accurate

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Resolved
    • Minor
    • Resolution: Fixed
    • 2.4.13
    • 2.6.0, 2.4.18, 2.5.6, 3.0.0-beta-1
    • BlockCache
    • None
    • Centos 7.6

      HBase 2.4.13

    • Reviewed

    Description

      LruBlockCache.logStats would print info, as follow:

      //代码占位符
      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 

      I think the description about totalSize=2.42 MB is not accurate, It actually represents the used size of BlockCache.

      Attachments

        Issue Links

          Activity

            People

              guluo guluo
              guluo guluo
              Votes:
              0 Vote for this issue
              Watchers:
              3 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: