Uploaded image for project: 'Hadoop YARN'
  1. Hadoop YARN
  2. YARN-6592 [Umbrella] Rich placement constraints in YARN
  3. YARN-7682

Expose canSatisfyConstraints utility function to validate a placement against a constraint

    XMLWordPrintableJSON

    Details

    • Type: Sub-task
    • Status: Resolved
    • Priority: Major
    • Resolution: Fixed
    • Affects Version/s: None
    • Fix Version/s: 3.1.0
    • Component/s: None
    • Labels:
      None
    • Target Version/s:

      Description

      As per discussion in YARN-7613. Lets expose canAssign method in the PlacementConstraintManager that takes a sourceTags, applicationId, SchedulerNode and AllocationTagsManager and returns true if constraints are not violated by placing the container on the node.

      I prefer not passing in the SchedulingRequest, since it can have > 1 numAllocations. We want this api to be called for single allocations.

        Attachments

        1. YARN-7682-YARN-6592.006.patch
          39 kB
          Panagiotis Garefalakis
        2. YARN-7682-YARN-6592.005.patch
          39 kB
          Panagiotis Garefalakis
        3. YARN-7682-YARN-6592.004.patch
          39 kB
          Panagiotis Garefalakis
        4. YARN-7682-YARN-6592.003.patch
          39 kB
          Panagiotis Garefalakis
        5. YARN-7682-YARN-6592.002.patch
          25 kB
          Panagiotis Garefalakis
        6. YARN-7682-YARN-6592.001.patch
          18 kB
          Panagiotis Garefalakis
        7. YARN-7682.wip.patch
          5 kB
          Panagiotis Garefalakis

          Issue Links

            Activity

              People

              • Assignee:
                pgaref Panagiotis Garefalakis
                Reporter:
                asuresh Arun Suresh
              • Votes:
                0 Vote for this issue
                Watchers:
                5 Start watching this issue

                Dates

                • Created:
                  Updated:
                  Resolved: