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

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

Peter Bacsko created YUNIKORN-1194:
--------------------------------------

             Summary: 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


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: dev-unsubscribe@yunikorn.apache.org
For additional commands, e-mail: dev-help@yunikorn.apache.org