[ 
https://issues.apache.org/jira/browse/YUNIKORN-352?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17172728#comment-17172728
 ] 

Ayub Pathan commented on YUNIKORN-352:
--------------------------------------

The queue information is not shown because the child queue max capacity is 
greater than parent queue capacity. The configuration update is rejected by 
Yunikorn for this reason but there is no error or any kind of notification to 
the end user.

[~cheersyang] / [~wilfreds] How can this be communicated to the end user? 
validate-conf??


> Nested static queues information is not returned by yunikorn
> ------------------------------------------------------------
>
>                 Key: YUNIKORN-352
>                 URL: https://issues.apache.org/jira/browse/YUNIKORN-352
>             Project: Apache YuniKorn
>          Issue Type: Bug
>          Components: core - scheduler
>            Reporter: Ayub Pathan
>            Priority: Critical
>
> Create a nested static queue like below.
> {noformat}
> partitions:
>   -
>     name: default
>     placementrules:
>       - name: tag
>         value: namespace
>         create: true
>     queues:
>       - name: root
>         submitacl: '*'
>         queues:
>           - name: queue2
>             resources:
>               guaranteed:
>                 memory: 300
>                 cpu: 300
>               max:
>                 memory: 1000
>                 cpu: 1000
>             queues:
>               - name: queue3
>                 resources:
>                   guaranteed:
>                     memory: 300
>                     cpu: 300
>                   max:
>                     memory: 2000
>                     cpu: 2000
> {noformat}
> Validate the same through rest API /queues - queues3 is not even shown in the 
> response.
> {noformat}
> {
>     "capacity": {
>         "capacity": "map[attachable-volumes-aws-ebs:75 
> ephemeral-storage:94992122100 hugepages-1Gi:0 hugepages-2Mi:0 memory:18966 
> pods:87 vcore:4875]",
>         "usedcapacity": "0"
>     },
>     "nodes": null,
>     "partitionName": "[mycluster]default",
>     "queues": {
>         "capacities": {
>             "absusedcapacity": "[memory:0 vcore:2]",
>             "capacity": "[]",
>             "maxcapacity": "[attachable-volumes-aws-ebs:75 
> ephemeral-storage:94992122100 hugepages-1Gi:0 hugepages-2Mi:0 memory:18966 
> pods:87 vcore:4875]",
>             "usedcapacity": "[memory:1 vcore:110]"
>         },
>         "properties": {},
>         "queuename": "root",
>         "queues": [
>             {
>                 "capacities": {
>                     "absusedcapacity": "[]",
>                     "capacity": "[]",
>                     "maxcapacity": "[]",
>                     "usedcapacity": "[memory:1]"
>                 },
>                 "properties": {},
>                 "queuename": "monitoring",
>                 "queues": null,
>                 "status": "Active"
>             },
>             {
>                 "capacities": {
>                     "absusedcapacity": "[]",
>                     "capacity": "[]",
>                     "maxcapacity": "[]",
>                     "usedcapacity": "[vcore:110]"
>                 },
>                 "properties": {},
>                 "queuename": "kube-system",
>                 "queues": null,
>                 "status": "Active"
>             },
>             {
>                 "capacities": {
>                     "absusedcapacity": "[]",
>                     "capacity": "[cpu:300 memory:300]",
>                     "maxcapacity": "[cpu:1000 memory:1000]",
>                     "usedcapacity": "[]"
>                 },
>                 "properties": {},
>                 "queuename": "queue2",
>                 "queues": null,
>                 "status": "Active"
>             }
>         ],
>         "status": "Active"
>     }
> }
> {noformat}



--
This message was sent by Atlassian Jira
(v8.3.4#803005)

---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to