You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@yunikorn.apache.org by "Wilfred Spiegelenburg (Jira)" <ji...@apache.org> on 2022/01/10 06:04:00 UTC

[jira] [Commented] (YUNIKORN-982) Handle placeholders that are different from real allocations

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

Wilfred Spiegelenburg commented on YUNIKORN-982:
------------------------------------------------

PR opened that handles the three cases correctly without causing internal stats to go out of sync:
 * placeholder is same as real (expected and already working case)
 * placeholder is smaller than real (remove placeholders)
 * placeholder is larger than real (adjust usage in queue and nodes)

> Handle placeholders that are different from real allocations
> ------------------------------------------------------------
>
>                 Key: YUNIKORN-982
>                 URL: https://issues.apache.org/jira/browse/YUNIKORN-982
>             Project: Apache YuniKorn
>          Issue Type: Bug
>          Components: core - scheduler
>    Affects Versions: 0.12
>            Reporter: Wilfred Spiegelenburg
>            Assignee: Wilfred Spiegelenburg
>            Priority: Major
>              Labels: pull-request-available
>
> If a placeholder is not the same resource size as the real allocation that replaces it YuniKorn will leak resources. In YUNIKORN-580 a log entry was added to detect the case. It will still cause the out of sync state but we can detect it.
> Handling the issue in the code outright is a better solution.



--
This message was sent by Atlassian Jira
(v8.20.1#820001)

---------------------------------------------------------------------
To unsubscribe, e-mail: issues-unsubscribe@yunikorn.apache.org
For additional commands, e-mail: issues-help@yunikorn.apache.org