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-1.txt
        6 kB
        Amareshwari Sriramadasu
      3. patch-2021-ydist.txt
        6 kB
        Amareshwari Sriramadasu
      4. patch-2021-ydist.txt
        5 kB
        Amareshwari Sriramadasu

        Issue Links

          Activity

          No work has yet been logged on this issue.

            People

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

              Dates

              • Created:
                Updated:
                Resolved:

                Development