[ 
https://issues.apache.org/jira/browse/YARN-10213?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Sen Zhao updated YARN-10213:
----------------------------
    Attachment: YARN-10213.002.patch

> Using curator-leader-elector, rm will always be in standby state at some 
> times.
> -------------------------------------------------------------------------------
>
>                 Key: YARN-10213
>                 URL: https://issues.apache.org/jira/browse/YARN-10213
>             Project: Hadoop YARN
>          Issue Type: Bug
>    Affects Versions: 3.2.1, 3.1.3
>            Reporter: Sen Zhao
>            Assignee: Sen Zhao
>            Priority: Major
>         Attachments: YARN-10213.001.patch, YARN-10213.002.patch
>
>
> When we use cursor-leader-elector, 
> *CuratorBasedElectorService.initAndStartLeaderLatch()*
> will initialize and start *leaderLatch* to elect the leader.
> Now:
> 1.ResourceManager will call 
> *CuratorBasedElectorService.initAndStartLeaderLatch()* in *serviceInit()*.
> 2.ResourceManager will transition to standby in *serviceStart()*.
> If *leaderLatch* succeeds in electing leader before rm transitions to 
> standby. ResourceManager will always be in standby state.



--
This message was sent by Atlassian Jira
(v8.3.4#803005)

---------------------------------------------------------------------
To unsubscribe, e-mail: yarn-issues-unsubscr...@hadoop.apache.org
For additional commands, e-mail: yarn-issues-h...@hadoop.apache.org

Reply via email to