GitHub user WangTaoTheTonic opened a pull request:

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

    [FLINK-6192]reuse zookeeper client created by CuratorFramework

    Now in yarn mode, there're three places using zookeeper client(web monitor, 
jobmanager and resourcemanager) in ApplicationMaster/JobManager, while there're 
two in TaskManager. They create new one zookeeper client when they need them.
    
    I believe there're more other places do the same thing, but in one JVM, one 
CuratorFramework is enough for connections to one zookeeper client, so we need 
a singleton to reuse them.

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

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

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

    https://github.com/apache/flink/pull/3617.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 #3617
    
----
commit 3d0c164a0d41fcd5c88fe7b959062827eb1a5909
Author: WangTaoTheTonic <wangtao...@huawei.com>
Date:   2017-03-27T07:43:01Z

    reuse zookeeper client created by CuratorFramework

----


---
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.
---

Reply via email to