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 "Jonathan Eagles (JIRA)" <ji...@apache.org> on 2014/03/27 22:16:22 UTC

[jira] [Commented] (MAPREDUCE-4941) Use of org.apache.hadoop.mapred.lib.CombineFileRecordReader requires casting

    [ https://issues.apache.org/jira/browse/MAPREDUCE-4941?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13949938#comment-13949938 ] 

Jonathan Eagles commented on MAPREDUCE-4941:
--------------------------------------------

[~jlowe], this patch no longer applies. Can you update when you get a chance?

> Use of org.apache.hadoop.mapred.lib.CombineFileRecordReader requires casting
> ----------------------------------------------------------------------------
>
>                 Key: MAPREDUCE-4941
>                 URL: https://issues.apache.org/jira/browse/MAPREDUCE-4941
>             Project: Hadoop Map/Reduce
>          Issue Type: Bug
>    Affects Versions: 2.0.2-alpha, 0.23.5
>            Reporter: Jason Lowe
>            Assignee: Jason Lowe
>            Priority: Minor
>         Attachments: MAPREDUCE-4941.patch, MAPREDUCE-4941.patch
>
>
> Unlike its counterpart in org.apache.hadoop.mapreduce.lib.input, the CombineFileRecordReader in mapred requires a user to cast to a RecordReader since the constructor specification says it must have the RecordReader<K,V> class as a parameter.  It should use {{Class<? extends RecordReader<K,V>>}} like its mapreduce counterpart to make it easier to use.



--
This message was sent by Atlassian JIRA
(v6.2#6252)