You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@hbase.apache.org by "Hudson (Jira)" <ji...@apache.org> on 2025/05/10 06:43:00 UTC
[jira] [Commented] (HBASE-29276) Compute and display hit ratio by configurable, granular time periods
[ https://issues.apache.org/jira/browse/HBASE-29276?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17950641#comment-17950641 ]
Hudson commented on HBASE-29276:
--------------------------------
Results for branch branch-2.6
[build #312 on builds.a.o|https://ci-hbase.apache.org/job/HBase%20Nightly/job/branch-2.6/312/]: (x) *{color:red}-1 overall{color}*
----
details (if available):
(/) {color:green}+1 general checks{color}
-- For more information [see general report|https://ci-hbase.apache.org/job/HBase%20Nightly/job/branch-2.6/312/General_20Nightly_20Build_20Report/]
(/) {color:green}+1 jdk8 hadoop2 checks{color}
-- For more information [see jdk8 (hadoop2) report|https://ci-hbase.apache.org/job/HBase%20Nightly/job/branch-2.6/312/JDK8_20Nightly_20Build_20Report_20_28Hadoop2_29/]
(/) {color:green}+1 jdk8 hadoop3 checks{color}
-- For more information [see jdk8 (hadoop3) report|https://ci-hbase.apache.org/job/HBase%20Nightly/job/branch-2.6/312/JDK8_20Nightly_20Build_20Report_20_28Hadoop3_29/]
(x) {color:red}-1 jdk11 hadoop3 checks{color}
-- For more information [see jdk11 report|https://ci-hbase.apache.org/job/HBase%20Nightly/job/branch-2.6/312/JDK11_20Nightly_20Build_20Report_20_28Hadoop3_29/]
(x) {color:red}-1 jdk17 hadoop3 checks{color}
-- For more information [see jdk17 report|https://ci-hbase.apache.org/job/HBase%20Nightly/job/branch-2.6/312/JDK17_20Nightly_20Build_20Report_20_28Hadoop3_29/]
(/) {color:green}+1 jdk17 hadoop 3.3.5 backward compatibility checks{color}
-- For more information [see jdk17 report|https://ci-hbase.apache.org/job/HBase%20Nightly/job/branch-2.6/312/JDK17_20Nightly_20Build_20Report_20_28Hadoop3_29/]
(x) {color:red}-1 jdk17 hadoop 3.3.6 backward compatibility checks{color}
-- For more information [see jdk17 report|https://ci-hbase.apache.org/job/HBase%20Nightly/job/branch-2.6/312/JDK17_20Nightly_20Build_20Report_20_28Hadoop3_29/]
(/) {color:green}+1 jdk17 hadoop 3.4.0 backward compatibility checks{color}
-- For more information [see jdk17 report|https://ci-hbase.apache.org/job/HBase%20Nightly/job/branch-2.6/312/JDK17_20Nightly_20Build_20Report_20_28Hadoop3_29/]
(/) {color:green}+1 source release artifact{color}
-- See build output for details.
(/) {color:green}+1 client integration test for HBase 2 {color}
(/) {color:green}+1 client integration test for 3.3.5 {color}
(/) {color:green}+1 client integration test for 3.3.6 {color}
(/) {color:green}+1 client integration test for 3.4.0 {color}
(/) {color:green}+1 client integration test for 3.4.1 {color}
> Compute and display hit ratio by configurable, granular time periods
> --------------------------------------------------------------------
>
> Key: HBASE-29276
> URL: https://issues.apache.org/jira/browse/HBASE-29276
> Project: HBase
> Issue Type: Improvement
> Affects Versions: 3.0.0-beta-1, 4.0.0-alpha-1, 2.7.0, 2.6.2
> Reporter: Wellington Chevreuil
> Assignee: Wellington Chevreuil
> Priority: Major
> Labels: pull-request-available
> Fix For: 3.0.0, 4.0.0-alpha-1, 2.7.0, 2.6.3
>
> Attachments: Screenshot 2025-04-28 at 18.30.37.png
>
>
> Currently, we only compute and display hit ratio stats for the all time running period of the given region servers. For long running setups where most of the accessed data is cached, small recent periods of low hits would go undetected, since the larger number of long term hits would drive the hit average up.
> This proposes two additional properties:
> 1) "hbase.blockcache.stats.periods" which allows for defining a multiple window period;
> 2) "hbase.blockcache.stats.period.minute" which defines the length of each of these periods;
> If "hbase.blockcache.stats.periods" is defined and is greater than one, it creates a scheduled executor that rolls the metrics calculation at "hbase.blockcache.stats.period.minute" rate.
> BucketCache can then set a default window of 12 periods each 5 minutes long, providing metrics over the last hour, in addition to the all time hit ratio.
>
> !Screenshot 2025-04-28 at 18.30.37.png|width=1045,height=336!
>
>
--
This message was sent by Atlassian Jira
(v8.20.10#820010)