[ 
https://issues.apache.org/jira/browse/HBASE-27440?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Duo Zhang resolved HBASE-27440.
-------------------------------
    Fix Version/s: 2.6.0
                   3.0.0-alpha-4
                   2.5.2
                   2.4.16
     Hadoop Flags: Reviewed
       Resolution: Fixed

Pushed to branch-2.4+.

Thanks [~tianliuliu] for contributing!

> metrics method removeHistogramMetrics trigger serious memory leak
> -----------------------------------------------------------------
>
>                 Key: HBASE-27440
>                 URL: https://issues.apache.org/jira/browse/HBASE-27440
>             Project: HBase
>          Issue Type: Bug
>          Components: metrics, regionserver
>    Affects Versions: 2.4.15
>            Reporter: Liuhe Tian
>            Assignee: Liuhe Tian
>            Priority: Major
>             Fix For: 2.6.0, 3.0.0-alpha-4, 2.5.2, 2.4.16
>
>
> the method removeHistogramMetrics will cause the metricsMap leak!
> because the put op in the map is the baseName but the remove is not , the 
> origin code add the histogramSuffixe follow the baseName when remove.
> !https://user-images.githubusercontent.com/13758677/196915944-71197086-2d53-4a85-8b5e-0a61441e8f64.png!
> !https://user-images.githubusercontent.com/13758677/196916259-196e3e8a-cde0-4989-8b64-de13b860522d.png!



--
This message was sent by Atlassian Jira
(v8.20.10#820010)

Reply via email to