[ https://issues.apache.org/jira/browse/HADOOP-7734?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13125409#comment-13125409 ]
Luke Lu commented on HADOOP-7734: --------------------------------- bq. Some examples For new code (0.23+), the new style (with annotations) API is recommended. The only two API changes that affect plugins are: # Metric -> AbstractMetric because I decide to use Metric for annotation. # MetricsVisitor method signatures because I didn't understand Java generics very well :) > 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