[
https://issues.apache.org/jira/browse/HADOOP-7734?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13125473#comment-13125473
]
Luke Lu commented on HADOOP-7734:
---------------------------------
bq. HBase is stuck using metrics1 until all of our users move to 0.23, since we
need to support both 20 and 23, and the metrics2 API is incompatible.
OK, you can add metrics2.1 support in 0.20x along with the older metrics2.0 API
that'd be deprecated. HBase can use the nice new metrics 2.1 API for both 0.20x
and 0.23+ lines. I prefer this instead of the other way around to keep the
newer branches clean :)
> metrics2 class names inconsistent between trunk and 20x
> -------------------------------------------------------
>
> Key: HADOOP-7734
> URL: https://issues.apache.org/jira/browse/HADOOP-7734
> Project: Hadoop Common
> Issue Type: Bug
> Components: metrics
> Affects Versions: 0.20.205.0, 0.23.0
> Reporter: Todd Lipcon
> Priority: Critical
>
> The new metrics2 framework was backported into the 20x branch, but the class
> names differ between the two branches. So, if anyone were to build against
> the metrics2 API in 20x, it would break when they upgraded to 23. We should
> reconcile the two so that they are API-compatible.
--
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