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

CombineFileInputFormat returns duplicate hostnames in split locations

    Details

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

      Description

      CombineFileInputFormat.getSplits creates splits with duplicate locations. It adds locations of the files in the split to an ArrayList; if all the files are on same location, the location is added again and again. Instead, it should add it to a Set instead of List to avoid duplicates.

      1. patch-2021.txt
        5 kB
        Amareshwari Sriramadasu
      2. patch-2021-ydist.txt
        5 kB
        Amareshwari Sriramadasu
      3. patch-2021-1.txt
        6 kB
        Amareshwari Sriramadasu
      4. patch-2021-ydist.txt
        6 kB
        Amareshwari Sriramadasu

        Issue Links

          Activity

          Amareshwari Sriramadasu created issue -
          Amareshwari Sriramadasu made changes -
          Field Original Value New Value
          Attachment patch-2021.txt [ 12452605 ]
          Amareshwari Sriramadasu made changes -
          Status Open [ 1 ] Patch Available [ 10002 ]
          Amareshwari Sriramadasu made changes -
          Attachment patch-2021-ydist.txt [ 12452787 ]
          Amareshwari Sriramadasu made changes -
          Attachment patch-2021-1.txt [ 12453025 ]
          Amareshwari Sriramadasu made changes -
          Status Patch Available [ 10002 ] Resolved [ 5 ]
          Hadoop Flags [Reviewed]
          Resolution Fixed [ 1 ]
          Amareshwari Sriramadasu made changes -
          Attachment patch-2021-ydist.txt [ 12453983 ]
          Konstantin Shvachko made changes -
          Status Resolved [ 5 ] Closed [ 6 ]
          Harsh J made changes -
          Link This issue is duplicated by MAPREDUCE-4593 [ MAPREDUCE-4593 ]
          Harsh J made changes -
          Link This issue relates HIVE-3387 [ HIVE-3387 ]
          Gavin made changes -
          Link This issue relates to HIVE-3387 [ HIVE-3387 ]
          Gavin made changes -
          Link This issue relates to HIVE-3387 [ HIVE-3387 ]

            People

            • Assignee:
              Amareshwari Sriramadasu
              Reporter:
              Amareshwari Sriramadasu
            • Votes:
              0 Vote for this issue
              Watchers:
              3 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved:

                Development