Uploaded image for project: 'Hadoop YARN'
  1. Hadoop YARN
  2. YARN-7812 Improvements to Rich Placement Constraints in YARN
  3. YARN-8195

Fix constraint cardinality check in the presence of multiple target allocation tags

    Details

    • Type: Sub-task
    • Status: Resolved
    • Priority: Critical
    • Resolution: Fixed
    • Affects Version/s: None
    • Fix Version/s: 3.2.0, 3.1.1
    • Component/s: None
    • Labels:
      None

      Description

      While testing PC with multiple allocation tags, I found the behavior is not working as expected. To demonstrate this issue, imagine we have following PC

      X=1, notin,node, A, B
      

      this is to ask for a placement on a node that has no A or B.

      now assume we have A, B tags on a node with following numbers of allocations,

      A(0), B(1)
      

      expectation, as B has 1 allocation on this node, this node should not satisfy the PC. However in actual, it passes the check.

        Attachments

        1. YARN-8195.001.patch
          7 kB
          Weiwei Yang
        2. YARN-8195.002.patch
          7 kB
          Weiwei Yang

          Activity

            People

            • Assignee:
              cheersyang Weiwei Yang
              Reporter:
              cheersyang Weiwei Yang
            • Votes:
              0 Vote for this issue
              Watchers:
              3 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved: