hadoop-common-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Alex Baranau (JIRA)" <j...@apache.org>
Subject [jira] [Commented] (HADOOP-8313) Add the ability for MetricsRegistry to remove metrics
Date Tue, 24 Jul 2012 15:37:35 GMT

    [ https://issues.apache.org/jira/browse/HADOOP-8313?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13421483#comment-13421483

Alex Baranau commented on HADOOP-8313:

I think it makes sense to simply implement new "dynamic" metrics registry which allows adding
& removing metrics in runtime. The reason is that "dynamic" one will have to be thread-safe
w.r.t. to remove metric operation and hence use some concurrent collection to hold metrics
map. For "static" registry it is not efficient to use concurrent collection underneath.

Common code can be extracted into the base class.

> Add the ability for MetricsRegistry to remove metrics
> -----------------------------------------------------
>                 Key: HADOOP-8313
>                 URL: https://issues.apache.org/jira/browse/HADOOP-8313
>             Project: Hadoop Common
>          Issue Type: Improvement
>          Components: metrics
>            Reporter: Elliott Clark
> Currently HBase is exposing metrics about a region through org.apache.hadoop.metrics.
 As regions are moved around or deleted we will want to remove the metrics.

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


View raw message