Adrian Muraru created HBASE-7309: ------------------------------------ Summary: 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.94.3, 0.92.2 Reporter: Adrian Muraru Priority: Critical
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