GitHub user WangTaoTheTonic opened a pull request:

    https://github.com/apache/flink/pull/3599

    [FLINK-6174][HA]introduce a new election service to make JobManager always 
available

    Now in yarn mode, if we use zookeeper as high availability choice, it will 
create a election service to get a leader depending on zookeeper election.
    
    When zookeeper leader crashes or the connection between JobManager and 
zookeeper instance was broken, JobManager's leadership will be revoked and send 
a Disconnect message to TaskManager, which will cancle all running tasks and 
make them waiting connection rebuild between JM and ZK.
    
    In yarn mode, we have one and only JobManager(AM) in same time, and it 
should be alwasy leader instead of elected through zookeeper. We can introduce 
a new leader election service in yarn mode to achive that.

You can merge this pull request into a Git repository by running:

    $ git pull https://github.com/WangTaoTheTonic/flink FLINK-6174

Alternatively you can review and apply these changes as the patch at:

    https://github.com/apache/flink/pull/3599.patch

To close this pull request, make a commit to your master/trunk branch
with (at least) the following in the commit message:

    This closes #3599
    
----
commit a758ec6320b026fb5d767cdc190c29c8043838da
Author: WangTaoTheTonic <[email protected]>
Date:   2017-03-23T03:15:40Z

    introduce a new election service to make JobManager always available

----


---
If your project is set up for it, you can reply to this email and have your
reply appear on GitHub as well. If your project does not have this feature
enabled and wishes so, or if the feature is enabled but not working, please
contact infrastructure at [email protected] or file a JIRA ticket
with INFRA.
---

Reply via email to