[ 
https://issues.apache.org/jira/browse/YUNIKORN-2534?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Craig Condit resolved YUNIKORN-2534.
------------------------------------
      Assignee:     (was: Manikandan R)
    Resolution: Not A Bug

This is not a bug. A value of zero is indistinguishable from unset, and we 
explicitly treat it the same.

> [Yunikorn] Quota enforcement checks are failing when we have max-application 
> set to 0
> -------------------------------------------------------------------------------------
>
>                 Key: YUNIKORN-2534
>                 URL: https://issues.apache.org/jira/browse/YUNIKORN-2534
>             Project: Apache YuniKorn
>          Issue Type: Bug
>          Components: shim - kubernetes
>            Reporter: Rajesh Kanhaiya Lal
>            Priority: Major
>         Attachments: yunikorn-configs-fresh.yaml
>
>
> The Max-application checks are not working when we are setting 
> max-application to 0 in the yunikorn-config file.
> The Config validation is also ignored in case of max-application is set to 0, 
> for example, the child max-application should be less or equal to the parent 
> queue is also not working when we have the max-application set to 0.
> Attached Yunikorn Config file
> User and Group tracking API also does not log max-application in the response.
>  
> {code:java}
> curl --location 'http://127.0.0.1:9080/ws/v1/partition/default/usage/users'
> [
>     {
>         "userName": "nobody",
>         "groups": {
>             "ts333w3": "*",
>             "ts433": "*",
>             "ts544": "*",
>             "ts633": "*"
>         },
>         "queues": {
>             "queuePath": "root",
>             "resourceUsage": {
>                 "Resources": {
>                     "memory": 300000000,
>                     "pods": 3,
>                     "vcore": 300
>                 }
>             },
>             "runningApplications": [
>                 "ts333w3",
>                 "ts433",
>                 "ts544"
>             ],
>             "children": [
>                 {
>                     "queuePath": "root.default",
>                     "resourceUsage": {
>                         "Resources": {
>                             "memory": 300000000,
>                             "pods": 3,
>                             "vcore": 300
>                         }
>                     },
>                     "runningApplications": [
>                         "ts333w3",
>                         "ts433",
>                         "ts544"
>                     ]
>                 }
>             ]
>         }
>     }
> ] {code}
> Could You please take a look ?
>  



--
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