[
https://issues.apache.org/jira/browse/YUNIKORN-2259?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Chia-Ping Tsai resolved YUNIKORN-2259.
--------------------------------------
Fix Version/s: 1.5.0
Resolution: Fixed
> 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
> Labels: pull-request-available
> 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: [email protected]
For additional commands, e-mail: [email protected]