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

CombineFileInputFormat.getSplits throws a java.lang.ArrayStoreException

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Closed
    • Blocker
    • Resolution: Fixed
    • 0.21.0
    • 0.22.0
    • None
    • None
    • 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
          5 kB
          Bochun Bai
        2. MAPREDUCE-2571.patch
          5 kB
          Bochun Bai
        3. MAPREDUCE-2571.patch
          7 kB
          Bochun Bai

        Activity

          People

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

            Dates

              Created:
              Updated:
              Resolved: