You are viewing a plain text version of this content. The canonical link for it is here.
Posted to yarn-issues@hadoop.apache.org by "Botong Huang (JIRA)" <ji...@apache.org> on 2018/11/12 18:31:00 UTC
[jira] [Created] (YARN-9013) [GPG] fix order of steps cleaning
Registry entries in ApplicationCleaner
Botong Huang created YARN-9013:
----------------------------------
Summary: [GPG] fix order of steps cleaning Registry entries in ApplicationCleaner
Key: YARN-9013
URL: https://issues.apache.org/jira/browse/YARN-9013
Project: Hadoop YARN
Issue Type: Task
Reporter: Botong Huang
Assignee: Botong Huang
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.
--
This message was sent by Atlassian JIRA
(v7.6.3#76005)
---------------------------------------------------------------------
To unsubscribe, e-mail: yarn-issues-unsubscribe@hadoop.apache.org
For additional commands, e-mail: yarn-issues-help@hadoop.apache.org