[
https://issues.apache.org/jira/browse/YUNIKORN-2119?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
PoAn Yang updated YUNIKORN-2119:
--------------------------------
Description:
After [calculating headroom for wildcard
cases|https://github.com/apache/yunikorn-core/pull/642] is merged, we need to
an edge case about wildcard limit:
If a non-wildcard limit is not defined in parent queue, but it's defined in
child queue, we need to check whether it's large than wildcard limit in parent
queue.
For example:
root (user wildcard max memory 100MB) -> parent (user1 max memory 50MB) (✅)
root (user wildcard max memory 100MB) -> parent (user1 max memory 150MB) (❌)
root (user wildcard max memory 100MB) -> parent (user1 max memory 50MB) ->
child (user2 max memory 150MB) (❌)
was:
After [calculating headroom for wildcard
cases|https://github.com/apache/yunikorn-core/pull/642] is merged, we need to
take care whether limits in different levels make an unexpected result.
Ref: [https://github.com/apache/yunikorn-core/pull/642#issuecomment-1780728933]
> Add check for parent queue user/group limit lower than child queue
> ------------------------------------------------------------------
>
> Key: YUNIKORN-2119
> URL: https://issues.apache.org/jira/browse/YUNIKORN-2119
> Project: Apache YuniKorn
> Issue Type: Sub-task
> Components: core - scheduler
> Reporter: PoAn Yang
> Assignee: PoAn Yang
> Priority: Major
>
> After [calculating headroom for wildcard
> cases|https://github.com/apache/yunikorn-core/pull/642] is merged, we need to
> an edge case about wildcard limit:
> If a non-wildcard limit is not defined in parent queue, but it's defined in
> child queue, we need to check whether it's large than wildcard limit in
> parent queue.
>
> For example:
> root (user wildcard max memory 100MB) -> parent (user1 max memory 50MB) (✅)
> root (user wildcard max memory 100MB) -> parent (user1 max memory 150MB) (❌)
> root (user wildcard max memory 100MB) -> parent (user1 max memory 50MB) ->
> child (user2 max memory 150MB) (❌)
--
This message was sent by Atlassian Jira
(v8.20.10#820010)
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]