[
https://issues.apache.org/jira/browse/YARN-2579?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=14197634#comment-14197634
]
Jian He commented on YARN-2579:
-------------------------------
bq. The main event dispatcher should be limited to handle events coming from
active service.
EmbeddedElectorService is now not inside active service.
{{EmbeddedElectorService#notifyFatalError}} is now sending event to the main
dispatcher which locks RM and does the transitionToStandBy, it could just do it
synchronously.
I think the main point is to get rid of
{{ResourceManager#RMFatalEventDispatcher}}. Also, RMStateStore could create a
separate thread to do the transition.
> Both RM's state is Active , but 1 RM is not really active.
> ----------------------------------------------------------
>
> Key: YARN-2579
> URL: https://issues.apache.org/jira/browse/YARN-2579
> Project: Hadoop YARN
> Issue Type: Bug
> Components: resourcemanager
> Affects Versions: 2.5.1
> Reporter: Rohith
> Assignee: Rohith
> Priority: Blocker
> Attachments: YARN-2579.patch, YARN-2579.patch
>
>
> I encountered a situaltion where both RM's web page was able to access and
> its state displayed as Active. But One of the RM's ActiveServices were
> stopped.
--
This message was sent by Atlassian JIRA
(v6.3.4#6332)