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

    • Type: Bug
    • Status: Resolved
    • Priority: Minor
    • Resolution: Won't Fix
    • Affects Version/s: 2.0.2-alpha, 0.23.5
    • Fix Version/s: None
    • Component/s: None
    • Labels:
      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
          Karthik Kambatla
        2. MAPREDUCE-4941.patch
          2 kB
          Jason Darrell Lowe

          Activity

            People

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

              Dates

              • Created:
                Updated:
                Resolved: