You are viewing a plain text version of this content. The canonical link for it is here.
Posted to yarn-dev@hadoop.apache.org by "Sen Zhao (Jira)" <ji...@apache.org> on 2020/03/28 09:29:00 UTC

[jira] [Created] (YARN-10213) Using curator-leader-elector, rm will always be in standby state at some times.

Sen Zhao created YARN-10213:
-------------------------------

             Summary: 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.1.3, 3.2.1
            Reporter: Sen Zhao


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-dev-unsubscribe@hadoop.apache.org
For additional commands, e-mail: yarn-dev-help@hadoop.apache.org