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

Locality scheduling broken due to mismatch between IPs and hosts

    Details

    • Type: Bug Bug
    • Status: Resolved
    • Priority: Blocker Blocker
    • Resolution: Duplicate
    • Affects Version/s: 0.23.0
    • Fix Version/s: None
    • Component/s: mrv2
    • Labels:
      None

      Description

      I noticed that, on a single-rack cluster, I wasn't getting hardly any data locality. The issue appears to be the code in RMContainerAllocator which changes the resource requests to use IP addresses instead of hostnames:

                 //host comes from data splitLocations which are hostnames. Containers
                 // use IP addresses.
                 //TODO Temporary fix for locality. Use resolvers from h-common. 
                 // Cache to make this more efficient ?
      

      However, at least on my cluster, the resource manager sees node resources as hostnames, not IPs. Removing this code fixed data locality.

        Issue Links

          Activity

          Todd Lipcon created issue -
          Hitesh Shah made changes -
          Field Original Value New Value
          Attachment MR-3234.1.patch [ 12499895 ]
          Mahadev konar made changes -
          Status Open [ 1 ] Resolved [ 5 ]
          Resolution Not A Problem [ 8 ]
          Vinod Kumar Vavilapalli made changes -
          Resolution Not A Problem [ 8 ]
          Status Resolved [ 5 ] Reopened [ 4 ]
          Vinod Kumar Vavilapalli made changes -
          Status Reopened [ 4 ] Resolved [ 5 ]
          Resolution Duplicate [ 3 ]
          Vinod Kumar Vavilapalli made changes -
          Link This issue is duplicated by MAPREDUCE-2693 [ MAPREDUCE-2693 ]

            People

            • Assignee:
              Unassigned
              Reporter:
              Todd Lipcon
            • Votes:
              0 Vote for this issue
              Watchers:
              5 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved:

                Development