[
https://issues.apache.org/jira/browse/YARN-2588?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=14174673#comment-14174673
]
Rohith commented on YARN-2588:
------------------------------
In RMWebApp, we have code below where ApplicationACLManager and QueueACL
managers are part of ActiveServices instances binded to RMWebApp. IIUC, these
are not needed for starting in standby mode. I would like to know reason behind
why these 2 active service instances are binded to RMWebApp.?
{code}
if (rm != null) {
bind(ResourceManager.class).toInstance(rm);
bind(RMContext.class).toInstance(rm.getRMContext());
bind(ApplicationACLsManager.class).toInstance(
rm.getApplicationACLsManager());
bind(QueueACLsManager.class).toInstance(rm.getQueueACLsManager());
}
{code}
> Standby RM does not transitionToActive if previous transitionToActive is
> failed with ZK exception.
> --------------------------------------------------------------------------------------------------
>
> Key: YARN-2588
> URL: https://issues.apache.org/jira/browse/YARN-2588
> Project: Hadoop YARN
> Issue Type: Bug
> Components: resourcemanager
> Affects Versions: 3.0.0, 2.6.0, 2.5.1
> Reporter: Rohith
> Assignee: Rohith
> Attachments: YARN-2588.1.patch, YARN-2588.patch
>
>
> Consider scenario where, StandBy RM is failed to transition to Active because
> of ZK exception(connectionLoss or SessionExpired). Then any further
> transition to Active for same RM does not move RM to Active state.
--
This message was sent by Atlassian JIRA
(v6.3.4#6332)