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

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

> CombineFileRecordReader does not set "map.input.*" configuration parameters 
> for first file read
> -----------------------------------------------------------------------------------------------
>
>                 Key: MAPREDUCE-5374
>                 URL: https://issues.apache.org/jira/browse/MAPREDUCE-5374
>             Project: Hadoop Map/Reduce
>          Issue Type: Bug
>    Affects Versions: 1.2.0
>            Reporter: Dave Beech
>            Assignee: Dave Beech
>              Labels: BB2015-05-TBR
>         Attachments: MAPREDUCE-5374.patch, MAPREDUCE-5374.patch
>
>
> The CombineFileRecordReader operates on splits consisting of multiple files. 
> Each time a new record reader is initialised for a "chunk", certain 
> parameters are supposed to be set on the configuration object 
> (map.input.file, map.input.start and map.input.length)
> However, the first reader is initialised in a different way to subsequent 
> ones (i.e. initialize is called by the MapTask directly rather than from 
> inside the record reader class). Because of this, these config parameters are 
> not set properly and are returned as null when you access them from inside a 
> mapper. 



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

Reply via email to