Return-Path: Delivered-To: apmail-hadoop-mapreduce-issues-archive@minotaur.apache.org Received: (qmail 86854 invoked from network); 5 Aug 2010 05:54:43 -0000 Received: from unknown (HELO mail.apache.org) (140.211.11.3) by 140.211.11.9 with SMTP; 5 Aug 2010 05:54:43 -0000 Received: (qmail 35229 invoked by uid 500); 5 Aug 2010 05:54:43 -0000 Delivered-To: apmail-hadoop-mapreduce-issues-archive@hadoop.apache.org Received: (qmail 35132 invoked by uid 500); 5 Aug 2010 05:54:41 -0000 Mailing-List: contact mapreduce-issues-help@hadoop.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: mapreduce-issues@hadoop.apache.org Delivered-To: mailing list mapreduce-issues@hadoop.apache.org Received: (qmail 35037 invoked by uid 99); 5 Aug 2010 05:54:39 -0000 Received: from athena.apache.org (HELO athena.apache.org) (140.211.11.136) by apache.org (qpsmtpd/0.29) with ESMTP; Thu, 05 Aug 2010 05:54:39 +0000 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.22] (HELO thor.apache.org) (140.211.11.22) by apache.org (qpsmtpd/0.29) with ESMTP; Thu, 05 Aug 2010 05:54:38 +0000 Received: from thor (localhost [127.0.0.1]) by thor.apache.org (8.13.8+Sun/8.13.8) with ESMTP id o755sIKf024247 for ; Thu, 5 Aug 2010 05:54:18 GMT Message-ID: <19793637.174921280987658617.JavaMail.jira@thor> Date: Thu, 5 Aug 2010 01:54:18 -0400 (EDT) From: "Vinod K V (JIRA)" To: mapreduce-issues@hadoop.apache.org Subject: [jira] Commented: (MAPREDUCE-1762) Add a setValue() method in Counter In-Reply-To: <10744785.18741273181688522.JavaMail.jira@thor> 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/MAPREDUCE-1762?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12895562#action_12895562 ] Vinod K V commented on MAPREDUCE-1762: -------------------------------------- Please open a new ticket. Reverting the original (big) patch isn't really needed for this trivial fix. > Add a setValue() method in Counter > ---------------------------------- > > Key: MAPREDUCE-1762 > URL: https://issues.apache.org/jira/browse/MAPREDUCE-1762 > Project: Hadoop Map/Reduce > Issue Type: Improvement > Affects Versions: 0.22.0 > Reporter: Scott Chen > Assignee: Scott Chen > Fix For: 0.22.0 > > Attachments: M1762-2.patch, M1762-javadoc.patch, MAPREDUCE-1762.1.txt, MAPREDUCE-1762.txt > > > Counters are very useful because of the logging and transmitting are already there. > It is very convenient to transmit and store numbers. But currently Counter only has an increment() method. > It will be nice if there can be a setValue() method in this class that will allow us to transmit wider variety of information through it. > What do you think? -- This message is automatically generated by JIRA. - You can reply to this email to add a comment to the issue online.