Uploaded image for project: 'Apache YuniKorn'
  1. Apache YuniKorn
  2. YUNIKORN-1573 [Umbrella] User & Group Based Quota Enforcement
  3. YUNIKORN-1929

Keep group tracker if it's from a specific limit to wildcard limit

    XMLWordPrintableJSON

Details

    Description

      Currently, the user/group manager can't pass the following case:

      1. Create a queue with the following limits:

       

      limits:
      - limit: "specific groups"
        groups:
        - group1
        - group2
        maxresources:
          memory: 100
          vcores: 100
        maxapplications: 2
      - limit: "wildcard"
        groups:
        - *
        maxresources:
          memory: 50
          vcores: 50
        maxapplications: 1

      2. Increase resource usage (memory: 50, vcores: 50) for group1 and group2.

      3. Remove "group2" from the "specific groups" limit and update the config. The "group2" tracker will be removed. 

      4. If we increase resource usage again, the system will pass. However, at this moment, the real resource usage is 100 memory/vocres and it's more than the wildcard limit.

       

      Attachments

        Issue Links

          Activity

            People

              yangpoan PoAn Yang
              yangpoan PoAn Yang
              Votes:
              0 Vote for this issue
              Watchers:
              3 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: