Return-Path: Delivered-To: apmail-hadoop-core-dev-archive@www.apache.org Received: (qmail 20025 invoked from network); 27 Oct 2008 16:33:07 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (140.211.11.2) by minotaur.apache.org with SMTP; 27 Oct 2008 16:33:07 -0000 Received: (qmail 9221 invoked by uid 500); 27 Oct 2008 16:33:09 -0000 Delivered-To: apmail-hadoop-core-dev-archive@hadoop.apache.org Received: (qmail 9211 invoked by uid 500); 27 Oct 2008 16:33:09 -0000 Mailing-List: contact core-dev-help@hadoop.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: core-dev@hadoop.apache.org Delivered-To: mailing list core-dev@hadoop.apache.org Received: (qmail 9200 invoked by uid 99); 27 Oct 2008 16:33:09 -0000 Received: from athena.apache.org (HELO athena.apache.org) (140.211.11.136) by apache.org (qpsmtpd/0.29) with ESMTP; Mon, 27 Oct 2008 09:33:09 -0700 X-ASF-Spam-Status: No, hits=-2000.0 required=10.0 tests=ALL_TRUSTED X-Spam-Check-By: apache.org Received: from [140.211.11.140] (HELO brutus.apache.org) (140.211.11.140) by apache.org (qpsmtpd/0.29) with ESMTP; Mon, 27 Oct 2008 16:32:04 +0000 Received: from brutus (localhost [127.0.0.1]) by brutus.apache.org (Postfix) with ESMTP id 4D0E9234C235 for ; Mon, 27 Oct 2008 09:32:44 -0700 (PDT) Message-ID: <796195462.1225125164314.JavaMail.jira@brutus> Date: Mon, 27 Oct 2008 09:32:44 -0700 (PDT) From: "Owen O'Malley (JIRA)" To: core-dev@hadoop.apache.org Subject: [jira] Commented: (HADOOP-4516) Counter formatting for the user logs should be pulled out of the public Counters API In-Reply-To: <876950886.1224866984588.JavaMail.jira@brutus> MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 7bit X-Virus-Checked: Checked by ClamAV on apache.org [ https://issues.apache.org/jira/browse/HADOOP-4516?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12642955#action_12642955 ] Owen O'Malley commented on HADOOP-4516: --------------------------------------- The escaped compact format is only used for the log files. If there is another use, then we can make it public. In the mean time it just makes the public interface bigger and more confusing for users. However, it goes deeper than that. In particular, embedding various output formats in the Counters -> Groups -> Counters classes isn't necessary or good. It is better to have the different encodings in different classes that use the standard apis. > Counter formatting for the user logs should be pulled out of the public Counters API > ------------------------------------------------------------------------------------ > > Key: HADOOP-4516 > URL: https://issues.apache.org/jira/browse/HADOOP-4516 > Project: Hadoop Core > Issue Type: Bug > Components: mapred > Reporter: Owen O'Malley > Fix For: 0.20.0 > > > Currently the mapred.Counters class includes an obsolete format (makeCompactString) and a format that is only used by the user logs (makeEscapeCompactString). makeCompactString should be deprecated and later removed.The makeEscapeCompactString should be refactored to a non-public class. -- This message is automatically generated by JIRA. - You can reply to this email to add a comment to the issue online.