[ https://issues.apache.org/jira/browse/HBASE-28246?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Wellington Chevreuil resolved HBASE-28246. ------------------------------------------ Resolution: Fixed Thanks for reviewing it, [~psomogyi]! Merged into master, branch-3 and branch-2. > Expose region cached size over JMX metrics and report in the RS UI > ------------------------------------------------------------------ > > Key: HBASE-28246 > URL: https://issues.apache.org/jira/browse/HBASE-28246 > Project: HBase > Issue Type: Improvement > Components: BucketCache > Affects Versions: 2.6.0, 3.0.0-alpha-4, 2.4.17, 2.5.6, 4.0.0-alpha-1 > Reporter: Wellington Chevreuil > Assignee: Wellington Chevreuil > Priority: Major > Fix For: 3.0.0-beta-1, 4.0.0-alpha-1 > > Attachments: Screenshot 2023-12-06 at 22.58.17.png > > > With large file based bucket cache, the prefetch executor can take long time > to complete cache all of the dataset. It would be useful to report how much % > of regions data is already cached, in order to give an idea of how much work > prefetch executor has done. > This PRs adds jmx metrics for region cache % and also reports the same in the > RS UI "Store File Metrics" tab as below: > !Screenshot 2023-12-06 at 22.58.17.png|width=658,height=114! -- This message was sent by Atlassian Jira (v8.20.10#820010)