Github user tillrohrmann commented on the issue:
https://github.com/apache/flink/pull/2905
I fear that we cannot merge the PR as it is, because it would leave the
`CuratorFramework` client open for some of the components used in the master.
For example, the `WebMonitor` uses the same code path to open a leader
retrieval service in case of HA mode.
In order to solve this problem, I think we have to change the master to
also use the `HighAvailabilityServices`. Then we have a single point of
responsibility to close the `CuratorFramework` client.
---
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.
---