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: [email protected]
For additional commands, e-mail: [email protected]