You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@flink.apache.org by "Tao Wang (JIRA)" <ji...@apache.org> on 2017/03/27 07:35:41 UTC

[jira] [Created] (FLINK-6192) reuse zookeeer client created by CuratorFramework

Tao Wang created FLINK-6192:
-------------------------------

             Summary: reuse zookeeer client created by CuratorFramework
                 Key: FLINK-6192
                 URL: https://issues.apache.org/jira/browse/FLINK-6192
             Project: Flink
          Issue Type: Improvement
          Components: JobManager, YARN
            Reporter: Tao Wang
            Assignee: Tao Wang


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.



--
This message was sent by Atlassian JIRA
(v6.3.15#6346)