[
https://issues.apache.org/jira/browse/SLIDER-1166?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=15458952#comment-15458952
]
Billie Rinaldi commented on SLIDER-1166:
----------------------------------------
This solution keeps us from leaking sessions, but if the client is being
reused, it will still be creating and closing a lot of sessions. We could
consider making it reuse sessions as in
https://github.com/apache/accumulo/blob/master/fate/src/main/java/org/apache/accumulo/fate/zookeeper/ZooSession.java.
> Close zk client after use
> -------------------------
>
> Key: SLIDER-1166
> URL: https://issues.apache.org/jira/browse/SLIDER-1166
> Project: Slider
> Issue Type: Bug
> Components: client
> Affects Versions: Slider 0.91
> Reporter: Billie Rinaldi
> Assignee: Billie Rinaldi
> Priority: Critical
> Fix For: Slider 1.0.0
>
> Attachments: SLIDER-1166.1.patch
>
>
> We aren't closing the zookeeper client, leaving it to expire and keep the
> session open much longer than is necessary.
--
This message was sent by Atlassian JIRA
(v6.3.4#6332)