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

MR AppMaster can do sub-optimal assignment of containers to map tasks leading to poor node locality

    XMLWordPrintableJSON

Details

    • Reviewed

    Description

      Say the MR AppMaster asks the RM for 3 containers on nodes n1, n2 and n3. There are 10 node n1-n10 in the same rack. The RM can give it allocated containers in the list order n5, n2, n1. The way AM map->container assignment happens, the AM will try to assign node local maps to n5, failing which it will assign rack local maps to n5. These rack local maps could be node local on n2 and n1 and would have been assigned to containers on n1 and n2 if the AM had not made an early rack local match for them on n5. This can lead to poor locality.

      Attachments

        1. MAPREDUCE-4893.1.patch
          19 kB
          Bikas Saha
        2. MAPREDUCE-4893.2.patch
          19 kB
          Bikas Saha
        3. MAPREDUCE-4893.3.patch
          19 kB
          Bikas Saha

        Issue Links

          Activity

            People

              bikassaha Bikas Saha
              bikassaha Bikas Saha
              Votes:
              0 Vote for this issue
              Watchers:
              7 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: