You are viewing a plain text version of this content. The canonical link for it is here.
Posted to mapreduce-issues@hadoop.apache.org by "Siddharth Seth (JIRA)" <ji...@apache.org> on 2011/07/13 09:58:00 UTC

[jira] [Updated] (MAPREDUCE-2365) Add counters for FileInputFormat (BYTES_READ) and FileOutputFormat (BYTES_WRITTEN)

     [ https://issues.apache.org/jira/browse/MAPREDUCE-2365?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Siddharth Seth updated MAPREDUCE-2365:
--------------------------------------

    Attachment: MR2365.patch

Patch forward ported to trunk

> Add counters for FileInputFormat (BYTES_READ) and FileOutputFormat (BYTES_WRITTEN)
> ----------------------------------------------------------------------------------
>
>                 Key: MAPREDUCE-2365
>                 URL: https://issues.apache.org/jira/browse/MAPREDUCE-2365
>             Project: Hadoop Map/Reduce
>          Issue Type: Bug
>            Reporter: Owen O'Malley
>            Assignee: Siddharth Seth
>         Attachments: MR2365.patch
>
>
> MAP_INPUT_BYTES and MAP_OUTPUT_BYTES will be computed using the difference between FileSystem
> counters before and after each next(K,V) and collect/write op.
> In case compression is being used, these counters will represent the compressed data sizes. The uncompressed size will
> not be available.
> This is not a direct back-port of 5710. (Counters will be computed in MapTask instead of in individual RecordReaders).
> 0.20.100 ->
>    New API -> MAP_INPUT_BYTES will be computed using this method
>    Old API -> MAP_INPUT_BYTES will remain unchanged.
> 0.23 ->
>    New API -> MAP_INPUT_BYTES will be computed using this method
>    Old API -> MAP_INPUT_BYTES likely to use this method

--
This message is automatically generated by JIRA.
For more information on JIRA, see: http://www.atlassian.com/software/jira