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)