[ 
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.

Reply via email to