GitHub user shixiaogang opened a pull request: https://github.com/apache/flink/pull/2377
[Flink-4400][cluster management]Leadership Election among JobManagers - Implement LeaderContender interface in JobMaster. - Create and start the leader election service in JobMaster's bootstrapping. - Reformat the JobMaster's code with the style provided by Kete.Young. - Add an argument typed FlinkConfiguration in JobMaster's constructor. You can merge this pull request into a Git repository by running: $ git pull https://github.com/alibaba/flink jira-4400 Alternatively you can review and apply these changes as the patch at: https://github.com/apache/flink/pull/2377.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 #2377 ---- commit f9d5214ede8666824443fb68933893e9f98f8297 Author: xiaogang.sxg <xiaogang....@alibaba-inc.com> Date: 2016-08-17T05:46:00Z Implement leader contention prototypes in JobMaster commit ed5cf7556991f3ed9a8a09d8b34c4fe76c3f8a96 Author: xiaogang.sxg <xiaogang....@alibaba-inc.com> Date: 2016-08-17T07:35:23Z reformat the code and remove the test code ---- --- 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 infrastruct...@apache.org or file a JIRA ticket with INFRA. ---