[
https://issues.apache.org/jira/browse/YARN-4559?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=15099068#comment-15099068
]
Jian He commented on YARN-4559:
-------------------------------
new patch moved the curator#close in RM#serviceStop.
I cannot move the curator client creation into to LeaderElectorService because
LeaderElectorService will not be created if HA is not enabled.
I think the best way is just to merge the LeaderElectorService logic into
ZKRMStateStore itself. But that requires more refactoring on ZKRMStateStore
because ZKRMStateStore is not an alwaysOn service.
> Make leader elector and zk store share the same curator client
> --------------------------------------------------------------
>
> Key: YARN-4559
> URL: https://issues.apache.org/jira/browse/YARN-4559
> Project: Hadoop YARN
> Issue Type: Bug
> Reporter: Jian He
> Assignee: Jian He
> Attachments: YARN-4559.1.patch, YARN-4559.2.patch
>
>
> After YARN-4438, we can reuse the same curator client for leader elector and
> zk store
--
This message was sent by Atlassian JIRA
(v6.3.4#6332)