Return-Path: Delivered-To: apmail-hadoop-core-dev-archive@www.apache.org Received: (qmail 41127 invoked from network); 21 May 2009 10:18:57 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (140.211.11.3) by minotaur.apache.org with SMTP; 21 May 2009 10:18:57 -0000 Received: (qmail 24797 invoked by uid 500); 21 May 2009 10:19:09 -0000 Delivered-To: apmail-hadoop-core-dev-archive@hadoop.apache.org Received: (qmail 24751 invoked by uid 500); 21 May 2009 10:19: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 24741 invoked by uid 99); 21 May 2009 10:19:09 -0000 Received: from nike.apache.org (HELO nike.apache.org) (192.87.106.230) by apache.org (qpsmtpd/0.29) with ESMTP; Thu, 21 May 2009 10:19:09 +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.140] (HELO brutus.apache.org) (140.211.11.140) by apache.org (qpsmtpd/0.29) with ESMTP; Thu, 21 May 2009 10:19:06 +0000 Received: from brutus (localhost [127.0.0.1]) by brutus.apache.org (Postfix) with ESMTP id 9850C234C046 for ; Thu, 21 May 2009 03:18:45 -0700 (PDT) Message-ID: <1950547963.1242901125623.JavaMail.jira@brutus> Date: Thu, 21 May 2009 03:18:45 -0700 (PDT) From: "Amareshwari Sriramadasu (JIRA)" To: core-dev@hadoop.apache.org Subject: [jira] Updated: (HADOOP-5710) Counter MAP_INPUT_BYTES missing from new mapreduce api. In-Reply-To: <631092955.1240288607934.JavaMail.jira@brutus> MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 7bit X-JIRA-FingerPrint: 30527f35849b9dde25b450d4833f0394 X-Virus-Checked: Checked by ClamAV on apache.org [ https://issues.apache.org/jira/browse/HADOOP-5710?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Amareshwari Sriramadasu updated HADOOP-5710: -------------------------------------------- Attachment: patch-5710-2.txt Patch incorporating review comments. Earlier patch had findbugs warning saying Unchecked/unconfirmed cast fromTaskAttemptContext to MapContext . Added the warning to exclude list, since the warning is unavoidable. > Counter MAP_INPUT_BYTES missing from new mapreduce api. > ------------------------------------------------------- > > Key: HADOOP-5710 > URL: https://issues.apache.org/jira/browse/HADOOP-5710 > Project: Hadoop Core > Issue Type: Bug > Components: mapred > Reporter: Amareshwari Sriramadasu > Assignee: Amareshwari Sriramadasu > Fix For: 0.21.0 > > Attachments: patch-5710-1.txt, patch-5710-2.txt, patch-5710.txt > > > MapTask, with current new mapreduce api, does not maintain MAP_INPUT_BYTES counter. Since RecordReader doesnot have getPos() api, it is not possible for the map task to maintain. Individual record readers (LineRecordReader, SequenceFileRecordReader) could be modified to maintain the same. -- This message is automatically generated by JIRA. - You can reply to this email to add a comment to the issue online.