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

Yu-Lin Chen commented on YUNIKORN-2937:
---------------------------------------

The behavior is as expected.

You must set ACL if you set queues.yaml in configmap.
If you didn't set queues.yaml, YuniKorn will automatically set submitacl as '*' 
on root queue and setup placement rule as `tag`.

!yunikorn-confi-without queue.yaml.png|width=382,height=281! 
 

> Dynamic queue has no permissions
> --------------------------------
>
>                 Key: YUNIKORN-2937
>                 URL: https://issues.apache.org/jira/browse/YUNIKORN-2937
>             Project: Apache YuniKorn
>          Issue Type: Bug
>          Components: core - scheduler
>    Affects Versions: 1.3.0, 1.5.2
>            Reporter: Xiaobao Wu
>            Priority: Minor
>         Attachments: yunikorn-confi-without queue.yaml.png
>
>
> I have the following queue configuration :
> {code:java}
>   queues.yaml: |
>     partitions:
>     - name: default
>       queues:
>       - name: root
>         parent: true
>         queues:
>         - name: spark-test
>           resources:
>             guaranteed:
>               memory: 1Gi
>               vcore: "1"
>             max:
>               memory: 40Gi
>               vcore: "10"
>           submitacl: 'master'
>       placementrules:
>       - name: tag
>         create: true
>         value: namespace {code}
> When I submit the job to the namespace {*}dev{*}, because the placement rule 
> YK will submit the job to the ' dynamic ' queue {*}root.dev{*}. However, I 
> found that if the root queue is not configured to submitacl as ' * ', the job 
> will be rejected ; this job can be submitted successfully only if the root 
> queue configures submitacl as ' * ' or *does not adds* queues.yaml content in 
> yunikorn-configs.



--
This message was sent by Atlassian Jira
(v8.20.10#820010)

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

Reply via email to