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

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

    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.001.patch
          9 kB
          Weiwei Yang
        2. YARN-7763-YARN-6592.002.patch
          21 kB
          Weiwei Yang
        3. YARN-7763-YARN-6592.003.patch
          21 kB
          Weiwei Yang
        4. YARN-7763-YARN-6592.004.patch
          22 kB
          Weiwei Yang
        5. YARN-7763-YARN-6592.005.patch
          22 kB
          Weiwei Yang
        6. YARN-7763-YARN-6592.006.patch
          22 kB
          Weiwei Yang

        Activity

          People

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

            Dates

              Created:
              Updated:
              Resolved: