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

Mike Drob commented on HBASE-19411:
-----------------------------------

I'm a little confused here. If somebody else sets up metrics before us, then 
does that mean all of our metrics lose the hbase prefix with this patch?

> HBase should not override the Metrics System prefix if one exists already
> -------------------------------------------------------------------------
>
>                 Key: HBASE-19411
>                 URL: https://issues.apache.org/jira/browse/HBASE-19411
>             Project: HBase
>          Issue Type: Bug
>            Reporter: Haibo Chen
>            Assignee: Ted Yu
>         Attachments: 19411.v1.txt
>
>
> Currently the following code in BaseSourceImpl is executed unconditionally:
> {code}
>       MetricsSystem metricsSys = DefaultMetricsSystem.instance();
> {code}
> As [~haibo.chen] pointed out in HBASE-19409, this would override the Metrics 
> System prefix for the one NM has set up previously.
> This issue is to avoid such override.



--
This message was sent by Atlassian JIRA
(v6.4.14#64029)

Reply via email to