[ https://issues.apache.org/jira/browse/HBASE-4050?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13408580#comment-13408580 ]
Zhihong Ted Yu commented on HBASE-4050: --------------------------------------- {code} +++ hbase-server/src/main/java/org/apache/hadoop/hbase/master/metrics/MasterMetricsV2.java (revision ) {code} We can introduce metrics2 package and put MasterMetrics.java there, what do you think ? {code} + +public class TestMasterMetrics { {code} The above class is a small test, right ? I assume, once complete, the Metrics2 metrics would substitute old metrics. > Update HBase metrics framework to metrics2 framework > ---------------------------------------------------- > > Key: HBASE-4050 > URL: https://issues.apache.org/jira/browse/HBASE-4050 > Project: HBase > Issue Type: New Feature > Components: metrics > Affects Versions: 0.90.4 > Environment: Java 6 > Reporter: Eric Yang > Priority: Critical > Attachments: HBASE-4050.patch > > > Metrics Framework has been marked deprecated in Hadoop 0.20.203+ and 0.22+, > and it might get removed in future Hadoop release. Hence, HBase needs to > revise the dependency of MetricsContext to use Metrics2 framework. -- 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