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

VotersWatch issueWatchersLinkCloneUpdate Comment AuthorReplace String in CommentUpdate Comment VisibilityDelete Comments
    XMLWordPrintableJSON

Details

    • Sub-task
    • Status: Resolved
    • Major
    • Resolution: Fixed
    • None
    • 3.1.0
    • None
    • None

    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.wip.patch
          5 kB
          Panagiotis Garefalakis
        2. YARN-7682-YARN-6592.001.patch
          18 kB
          Panagiotis Garefalakis
        3. YARN-7682-YARN-6592.002.patch
          25 kB
          Panagiotis Garefalakis
        4. YARN-7682-YARN-6592.003.patch
          39 kB
          Panagiotis Garefalakis
        5. YARN-7682-YARN-6592.004.patch
          39 kB
          Panagiotis Garefalakis
        6. YARN-7682-YARN-6592.005.patch
          39 kB
          Panagiotis Garefalakis
        7. YARN-7682-YARN-6592.006.patch
          39 kB
          Panagiotis Garefalakis

        Issue Links

        Activity

          This comment will be Viewable by All Users Viewable by All Users
          Cancel

          People

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

            Dates

              Created:
              Updated:
              Resolved:

              Issue deployment