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

CombineFileInputFormat.getSplits throws a java.lang.ArrayStoreException

    Details

    • Type: Bug
    • Status: Closed
    • Priority: Blocker
    • Resolution: Fixed
    • Affects Version/s: 0.21.0
    • Fix Version/s: 0.22.0
    • Component/s: None
    • Labels:
      None
    • Hadoop Flags:
      Reviewed

      Description

      The getSplits methods of
      org.apache.hadoop.mapred.lib.CombineFileInputFormat
      not work.

      ...mapred.lib.CombineFileInputFormat(0.20-style) is a proxy for ...mapreduce.lib.input.CombineFileInputFormat(0.21-style)

      The 0.21-style getSplits returns ArrayList<...mapreduce.lib.input.CombineFileSplit>
      and the 0.20-style delegation calls toArray(...mapred.InputSplit[])

      The ...mapreduce.lib.input.CombineFileSplit is based on ...mapreduce.InputSplit
      and ...mapred.InputSplit is a interface, not a super-class of ...mapreduce.InputSplit

        Attachments

        1. MAPREDUCE-2571.patch
          7 kB
          Bochun Bai
        2. MAPREDUCE-2571.patch
          5 kB
          Bochun Bai
        3. MAPREDUCE-2571.patch
          5 kB
          Bochun Bai

          Activity

            People

            • Assignee:
              sinofool Bochun Bai
              Reporter:
              sinofool Bochun Bai
            • Votes:
              0 Vote for this issue
              Watchers:
              4 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved: