Uploaded image for project: 'Hadoop YARN'
  1. Hadoop YARN
  2. YARN-5255

Move ResourceRequest expansion for Delay Scheduling to the Scheduler

    XMLWordPrintableJSON

Details

    • Improvement
    • Status: Open
    • Major
    • Resolution: Unresolved
    • None
    • None
    • None
    • None

    Description

      YARN-4879 proposes to enhance the Allocate Request by introducing an id to explicitly identify a ResourceRequest.

      Currently, if relaxLocality == true, a Node specific request is expanded to rack and ANY request by the AMRMClient before being sent to the Scheduler. The requires the 3 copies to perform locality specific delay scheduling.

      It would be better to perform the expansion in the Scheduler itself, rather than the client, since:

      1. The expansion is not really specified in the ApplicationMasterProtocol, a non-java client will have to duplicate the expansion logic.
      2. Refactor out a lot of unnecessary code in the AMRMClientImpl

      Attachments

        Activity

          People

            asuresh Arun Suresh
            asuresh Arun Suresh
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

            Dates

              Created:
              Updated: