[
https://issues.apache.org/jira/browse/YUNIKORN-1793?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17741516#comment-17741516
]
PoAn Yang commented on YUNIKORN-1793:
-------------------------------------
Hi [~wilfreds], I am interested in this task. I have some questions:
# How do we distinguish whether an app is in the initialization phase in the
core? Do we want to add another field like {{IsInitialPhase}} to
{{si.AddApplicationRequest}} for it?
# Do we also want to ignore
[convertUGI|https://github.com/apache/yunikorn-core/blob/8a525325e8840bd495f0c14c2dcb184c0d5430cd/pkg/scheduler/context.go#L519-L531]
error in the initialization phase?
> Handle placement rule and queue changes during initialisation
> -------------------------------------------------------------
>
> Key: YUNIKORN-1793
> URL: https://issues.apache.org/jira/browse/YUNIKORN-1793
> Project: Apache YuniKorn
> Issue Type: Sub-task
> Components: core - common
> Reporter: Wilfred Spiegelenburg
> Priority: Major
>
> If the placement rules change loading an already running workload might fail.
> Similar case exists for queue that no longer exist in the config. Even if the
> queue exists the type could have changed from leaf to parent etc.
> Running workloads should never be rejected during init. If a placement fails
> the application should be placed in a temporary queue. This needs to be
> restricted to workloads during init only and a queue should be used that
> cannot be created via the configuration or placement rules.
>
--
This message was sent by Atlassian Jira
(v8.20.10#820010)
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]