Wellington Chevreuil created HBASE-28246:
--------------------------------------------

             Summary: 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
            Reporter: Wellington Chevreuil
            Assignee: Wellington Chevreuil
         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)

Reply via email to