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 "Allen Wittenauer (JIRA)" <ji...@apache.org> on 2015/05/06 05:28:11 UTC

[jira] [Updated] (MAPREDUCE-5491) DFSIO do not initialize write buffer correctly

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

Allen Wittenauer updated MAPREDUCE-5491:
----------------------------------------
    Labels: BB2015-05-TBR  (was: )

> DFSIO do not initialize write buffer correctly
> ----------------------------------------------
>
>                 Key: MAPREDUCE-5491
>                 URL: https://issues.apache.org/jira/browse/MAPREDUCE-5491
>             Project: Hadoop Map/Reduce
>          Issue Type: Bug
>          Components: benchmarks, test
>            Reporter: Raymond Liu
>            Assignee: Raymond Liu
>              Labels: BB2015-05-TBR
>         Attachments: MAPREDUCE-5491-v2.patch, MAPREDUCE-5491.patch
>
>
> In DFSIO test, the IOMapperBase will set bufferSize in configure method, while writeMapper, appendMapper etc use bufferSize to initialize buffer in the constructor. This will lead to buffer not initialized at all. It is ok for non compression route, while compression is used, the output data size will be very small due to all 0 in buffer.
> Thus, the overrided configure method should be be the correct place for initial buffer



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)