Return-Path: X-Original-To: apmail-hadoop-common-issues-archive@minotaur.apache.org Delivered-To: apmail-hadoop-common-issues-archive@minotaur.apache.org Received: from mail.apache.org (hermes.apache.org [140.211.11.3]) by minotaur.apache.org (Postfix) with SMTP id 028B89850 for ; Tue, 11 Oct 2011 21:45:36 +0000 (UTC) Received: (qmail 52132 invoked by uid 500); 11 Oct 2011 21:45:34 -0000 Delivered-To: apmail-hadoop-common-issues-archive@hadoop.apache.org Received: (qmail 52097 invoked by uid 500); 11 Oct 2011 21:45:34 -0000 Mailing-List: contact common-issues-help@hadoop.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: common-issues@hadoop.apache.org Delivered-To: mailing list common-issues@hadoop.apache.org Received: (qmail 52063 invoked by uid 99); 11 Oct 2011 21:45:34 -0000 Received: from athena.apache.org (HELO athena.apache.org) (140.211.11.136) by apache.org (qpsmtpd/0.29) with ESMTP; Tue, 11 Oct 2011 21:45:34 +0000 X-ASF-Spam-Status: No, hits=-2000.5 required=5.0 tests=ALL_TRUSTED,RP_MATCHES_RCVD X-Spam-Check-By: apache.org Received: from [140.211.11.116] (HELO hel.zones.apache.org) (140.211.11.116) by apache.org (qpsmtpd/0.29) with ESMTP; Tue, 11 Oct 2011 21:45:33 +0000 Received: from hel.zones.apache.org (hel.zones.apache.org [140.211.11.116]) by hel.zones.apache.org (Postfix) with ESMTP id AF2AB303F67 for ; Tue, 11 Oct 2011 21:45:12 +0000 (UTC) Date: Tue, 11 Oct 2011 21:45:12 +0000 (UTC) From: "Luke Lu (Commented) (JIRA)" To: common-issues@hadoop.apache.org Message-ID: <323735772.2643.1318369512718.JavaMail.tomcat@hel.zones.apache.org> In-Reply-To: <1517613223.2474.1318366272602.JavaMail.tomcat@hel.zones.apache.org> Subject: [jira] [Commented] (HADOOP-7734) metrics2 class names inconsistent between trunk and 20x MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 7bit X-JIRA-FingerPrint: 30527f35849b9dde25b450d4833f0394 [ 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