Chia-Ping Tsai created YUNIKORN-2259:
----------------------------------------

             Summary: add more meaningful error message when the invalid config 
is caused by undefined maxapplications 
                 Key: YUNIKORN-2259
                 URL: https://issues.apache.org/jira/browse/YUNIKORN-2259
             Project: Apache YuniKorn
          Issue Type: Improvement
            Reporter: Chia-Ping Tsai
            Assignee: Kuan-Po Tseng
             Fix For: 1.5.0


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

 

The above config can produce following error message.

"parent maxApplications must be larger than child maxApplications".

It seems to me the error message does not cover the root cause (maxapplications 
is zero). 

[https://github.com/apache/yunikorn-core/blob/master/pkg/common/configs/configvalidator.go#L207]



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

---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscr...@yunikorn.apache.org
For additional commands, e-mail: dev-h...@yunikorn.apache.org

Reply via email to