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

Raymond Liu updated MAPREDUCE-5491:
-----------------------------------

    Description: 
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

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

    
> 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
>    Affects Versions: trunk
>            Reporter: Raymond Liu
>            Assignee: Raymond Liu
>
> 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 is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira

Reply via email to