[
https://issues.apache.org/jira/browse/HBASE-29767?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
guluo resolved HBASE-29767.
---------------------------
Fix Version/s: 2.7.0
3.0.0-beta-2
2.6.5
2.5.14
Resolution: Fixed
> Fix IOTimePerHit NaN issue in BucketCacheStats
> ----------------------------------------------
>
> Key: HBASE-29767
> URL: https://issues.apache.org/jira/browse/HBASE-29767
> Project: HBase
> Issue Type: Improvement
> Components: BlockCache
> Reporter: guluo
> Priority: Minor
> Labels: pull-request-available
> Fix For: 2.7.0, 3.0.0-beta-2, 2.6.5, 2.5.14
>
>
> When L2 BlockCache is enabled and no scans have been performed, the logs may
> show the following output.
> INFO [BucketCacheStatsExecutor] bucket.BucketCache: failedBlockAdditions=0,
> totalSize=98.19 MB, freeSize=98.18 MB, usedSize=15 KB, cacheSize=3.83 KB,
> accesses=12, hits=6, IOhitsPerSecond=0,
> {color:#ff0000}IOTimePerHit=NaN{color}, hitRatio=50.00%, cachingAccesses=12,
> cachingHits=6, cachingHitsRatio=50.00%, evictions=0, evicted=0,
> evictedPerRun=0.0, allocationFailCount=0
>
> Additionally, when opening the RegionServer UI, the Time per Hit field may
> aslo display NaN.
--
This message was sent by Atlassian Jira
(v8.20.10#820010)