Hadoop Map/Reduce
  1. Hadoop Map/Reduce
  2. MAPREDUCE-2571

CombineFileInputFormat.getSplits throws a java.lang.ArrayStoreException

    Details

    • Type: Bug Bug
    • Status: Closed
    • Priority: Blocker 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

      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

        Bochun Bai created issue -
        Bochun Bai made changes -
        Field Original Value New Value
        Attachment MAPREDUCE-2571.patch [ 12481653 ]
        Bochun Bai made changes -
        Status Open [ 1 ] Patch Available [ 10002 ]
        Todd Lipcon made changes -
        Assignee Bochun Bai [ sinofool ]
        Bochun Bai made changes -
        Attachment MAPREDUCE-2571.patch [ 12481721 ]
        Bochun Bai made changes -
        Attachment MAPREDUCE-2571.patch [ 12481729 ]
        Todd Lipcon made changes -
        Status Patch Available [ 10002 ] Resolved [ 5 ]
        Hadoop Flags [Reviewed]
        Fix Version/s 0.22.0 [ 12314184 ]
        Resolution Fixed [ 1 ]
        Konstantin Shvachko made changes -
        Status Resolved [ 5 ] Closed [ 6 ]

          People

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

            Dates

            • Created:
              Updated:
              Resolved:

              Development