hadoop-common-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Sharad Agarwal (JIRA)" <j...@apache.org>
Subject [jira] Commented: (HADOOP-5710) Counter MAP_INPUT_BYTES missing from new mapreduce api.
Date Mon, 25 May 2009 08:35:45 GMT

    [ https://issues.apache.org/jira/browse/HADOOP-5710?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12712658#action_12712658
] 

Sharad Agarwal commented on HADOOP-5710:
----------------------------------------

one minor bit: In LineRecordReader and SequenceFileRecordReader, counter lookup is happening
for each key. This can be avoided if we keep counter instance as the member variable as opposed
to keeping MapContext.

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


Mime
View raw message