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/18 02:47:00 UTC
[jira] [Commented] (YUNIKORN-2259) add more meaningful error message when the invalid config is caused by undefined maxapplications
[ 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-unsubscribe@yunikorn.apache.org
For additional commands, e-mail: issues-help@yunikorn.apache.org