Uploaded image for project: 'Hadoop Map/Reduce'
  1. Hadoop Map/Reduce
  2. MAPREDUCE-4941

Use of org.apache.hadoop.mapred.lib.CombineFileRecordReader requires casting

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Resolved
    • Minor
    • Resolution: Won't Fix
    • 2.0.2-alpha, 0.23.5
    • None
    • None
    • None

    Description

      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.

      Attachments

        1. MAPREDUCE-4941.patch
          2 kB
          Jason Darrell Lowe
        2. MAPREDUCE-4941.patch
          2 kB
          Karthik Kambatla

        Activity

          People

            jlowe Jason Darrell Lowe
            jlowe Jason Darrell Lowe
            Votes:
            0 Vote for this issue
            Watchers:
            5 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: