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

[jira] [Resolved] (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: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: dev-unsubscribe@yunikorn.apache.org
For additional commands, e-mail: dev-help@yunikorn.apache.org