[ https://issues.apache.org/jira/browse/YARN-2865?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=14214989#comment-14214989 ]
Jian He commented on YARN-2865: ------------------------------- patch looks good overall. The patch should be enough to fix this jira. In addition, we need to clear "systemCredentials, schedulerRecoveryStartTime, schedulerRecoveryWaitTime etc.. " too.. probably we should have a separate class including all the active services' context and instantiate a new class when transitioning from standby to active for future-proof, instead of reseting each individual field. thoughts? we can definitely do this separately > Application recovery continuously fails with "Application with id already > present. Cannot duplicate" > ---------------------------------------------------------------------------------------------------- > > Key: YARN-2865 > URL: https://issues.apache.org/jira/browse/YARN-2865 > Project: Hadoop YARN > Issue Type: Bug > Components: resourcemanager > Reporter: Rohith > Assignee: Rohith > Priority: Critical > Attachments: YARN-2865.patch > > > YARN-2588 handles exception thrown while transitioningToActive and reset > activeServices. But it misses out clearing RMcontext apps/nodes details and > ClusterMetrics and QueueMetrics. This causes application recovery to fail. -- This message was sent by Atlassian JIRA (v6.3.4#6332)