You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@yunikorn.apache.org by "Chia-Ping Tsai (Jira)" <ji...@apache.org> on 2023/12/10 10:54:00 UTC

[jira] [Created] (YUNIKORN-2258) align the behavior of undefined maxapplications with resources

Chia-Ping Tsai created YUNIKORN-2258:
----------------------------------------

             Summary: align the behavior of undefined maxapplications with resources
                 Key: YUNIKORN-2258
                 URL: https://issues.apache.org/jira/browse/YUNIKORN-2258
             Project: Apache YuniKorn
          Issue Type: Wish
            Reporter: Chia-Ping Tsai


The following config is invalid since the undefined `maxapplications` of child queue is considered be zero. It means all leaf queues must define `maxapplications` if parent has `maxapplications`.

 
{code:java}
    partitions:
      - name: default
        queues:
          - name: root
            parent: true
            submitacl: "*"
            maxapplications: 2
            queues:
              - name: child {code}
 

 

In contrast, the resources has no such requirements. We can leave undefined resources for leaf queues. For example:

 
{code:java}
    partitions:
      - name: default
        queues:
          - name: root
            parent: true
            submitacl: "*"
            queues:
              - name: parent
                resources:
                  max:
                    memory: 20G
                    vcore: 20
                queues:
                    - name: child {code}
 



--
This message was sent by Atlassian Jira
(v8.20.10#820010)

---------------------------------------------------------------------
To unsubscribe, e-mail: issues-unsubscribe@yunikorn.apache.org
For additional commands, e-mail: issues-help@yunikorn.apache.org