[
https://issues.apache.org/jira/browse/YARN-2865?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=14217362#comment-14217362
]
Rohith commented on YARN-2865:
------------------------------
Thanks Karthik and Jian He for review. I will update the patch.
bq. In RMActiveServices, some are using rmContext#setter, some are using
activeServiceContext#setter, we may make it consistent to use the latter
RMContext has 5 setter methods. I used those methods to set from
RMActiveService just to retain interface implementation.
> 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-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)