[ https://issues.apache.org/jira/browse/YUNIKORN-2259?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17797993#comment-17797993 ]
Chia-Ping Tsai commented on YUNIKORN-2259: ------------------------------------------ Copy that and thanks for the reminder. > 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 > Priority: Trivial > > > {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: issues-unsubscr...@yunikorn.apache.org For additional commands, e-mail: issues-h...@yunikorn.apache.org