hbase-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Zhihong Yu (JIRA)" <j...@apache.org>
Subject [jira] [Commented] (HBASE-5862) After Region Close remove the Operation Metrics.
Date Mon, 23 Apr 2012 22:12:35 GMT

    [ https://issues.apache.org/jira/browse/HBASE-5862?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13260011#comment-13260011
] 

Zhihong Yu commented on HBASE-5862:
-----------------------------------

{code}
+  public void closeMetrics() {
+    for (String m:metricsPut) {
{code}
Please insert spaces around the colon above.
{code}
+      RegionMetricsStorage.deleteTimeVaryingMetric(m);
+    }
+    this.metricsPut = new TreeSet<String>();
{code}
Calling this.metricsPut.clear() should be enough.

                
> After Region Close remove the Operation Metrics.
> ------------------------------------------------
>
>                 Key: HBASE-5862
>                 URL: https://issues.apache.org/jira/browse/HBASE-5862
>             Project: HBase
>          Issue Type: Improvement
>            Reporter: Elliott Clark
>            Assignee: Elliott Clark
>            Priority: Minor
>         Attachments: HBASE-5862-0.patch
>
>
> If a region is closed then Hadoop metrics shouldn't still be reporting about that region.

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators: https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira

        

Mime
View raw message