Details
-
Sub-task
-
Status: Resolved
-
Major
-
Resolution: Resolved
-
None
-
None
-
None
Description
ApplicationCleaner today deletes the entry for all finished (non-running) application in YarnRegistry using this logic:
- GPG gets the list of running applications from Router.
- GPG gets the full list of applications in registry
- GPG deletes in registry every app in 2 that’s not in 1
The problem is that jobs that started between 1 and 2 meets the criteria in 3, and thus get deleted by mistake. The fix/right order should be 2->1->3, rather than 1->2->3.
Attachments
Attachments
Issue Links
- is caused by
-
YARN-8862 [GPG] Add Yarn Registry cleanup in ApplicationCleaner
- Resolved
- links to