You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@hbase.apache.org by "Adrian Muraru (JIRA)" <ji...@apache.org> on 2012/12/09 02:59:22 UTC

[jira] [Updated] (HBASE-7309) Metrics refresh-task is not canceled when regions are closed, leaking HRegion objects

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

Adrian Muraru updated HBASE-7309:
---------------------------------

    Attachment: HBASE-7309_v1.patch

Attaced patch that cancels the refresh-task when the region is closed. 
                
> Metrics refresh-task is not canceled when regions are closed, leaking HRegion objects
> -------------------------------------------------------------------------------------
>
>                 Key: HBASE-7309
>                 URL: https://issues.apache.org/jira/browse/HBASE-7309
>             Project: HBase
>          Issue Type: Bug
>          Components: metrics, regionserver
>    Affects Versions: 0.92.2, 0.94.3
>            Reporter: Adrian Muraru
>            Priority: Critical
>         Attachments: HBASE-7309_v1.patch
>
>
> While investigating HBASE-7205 by repeatedly enabling and disabling one table having 100 regions I noticed that closed HRegion objects are kept forever in memory. 
> The memory analyzer tool indicates a reference to HRegion object in metrics refresh-task ({{MetricsRegionWrapperImpl.HRegionMetricsWrapperRunnable}}) that prevents the HRegion object to be collected.

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira