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

Allow Constraints specified in the SchedulingRequest to override application level constraints

    XMLWordPrintableJSON

    Details

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

      Description

      As I mentioned on YARN-6599, we will add SchedulingRequest as part of the PlacementConstraintUtil method and both of processor/scheduler implementation will use the same logic. The logic looks like:

      PlacementConstraint pc = schedulingRequest.getPlacementConstraint();
      If (pc == null) {
        pc = PlacementConstraintMgr.getPlacementConstraint(schedulingRequest.getAllocationTags());
      }
      
      // Do placement constraint match ...

        Attachments

        1. YARN-7763-YARN-6592.006.patch
          22 kB
          Weiwei Yang
        2. YARN-7763-YARN-6592.005.patch
          22 kB
          Weiwei Yang
        3. YARN-7763-YARN-6592.004.patch
          22 kB
          Weiwei Yang
        4. YARN-7763-YARN-6592.003.patch
          21 kB
          Weiwei Yang
        5. YARN-7763-YARN-6592.002.patch
          21 kB
          Weiwei Yang
        6. YARN-7763-YARN-6592.001.patch
          9 kB
          Weiwei Yang

          Activity

            People

            • Assignee:
              cheersyang Weiwei Yang
              Reporter:
              leftnoteasy Wangda Tan
            • Votes:
              0 Vote for this issue
              Watchers:
              8 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved: