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

[jira] [Assigned] (YUNIKORN-1194) Task objects are not created when applications are restored in recoverApps()

     [ https://issues.apache.org/jira/browse/YUNIKORN-1194?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Peter Bacsko reassigned YUNIKORN-1194:
--------------------------------------

    Assignee: Peter Bacsko

> Task objects are not created when applications are restored in recoverApps()
> ----------------------------------------------------------------------------
>
>                 Key: YUNIKORN-1194
>                 URL: https://issues.apache.org/jira/browse/YUNIKORN-1194
>             Project: Apache YuniKorn
>          Issue Type: Sub-task
>          Components: shim - kubernetes
>            Reporter: Peter Bacsko
>            Assignee: Peter Bacsko
>            Priority: Major
>
> In order to properly restore the {{Application}} objects inside {{Context}}, we also need to call {{Context.AddTask()}}.
> This method is called when {{addPod()}} runs, but it's completely absent during the synchronous recovery code path. This also means that right now, recovery is completely dependent on the asynchronous nature of the shared informers and the application meta that comes back form {{ListApplications()}} does not matter - at that point, we're very likely restored the apps. But if not, then Yunikorn ends up having an inconsistent application state.



--
This message was sent by Atlassian Jira
(v8.20.7#820007)

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