[
https://issues.apache.org/jira/browse/HIVE-6755?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13979143#comment-13979143
]
Alan Gates commented on HIVE-6755:
----------------------------------
This patch no longer applies due to the changes to Driver.java in HIVE-5843.
I don't think you want to close the lock manager (now a transaction manager) in
releaseLocks. That is called when any query is done. But another query could
be run on the same Driver object, which would now not have a transaction
manager to work with.
> Zookeeper Lock Manager leaks zookeeper connections.
> ---------------------------------------------------
>
> Key: HIVE-6755
> URL: https://issues.apache.org/jira/browse/HIVE-6755
> Project: Hive
> Issue Type: Bug
> Components: HiveServer2
> Affects Versions: 0.12.0
> Environment: cloudera cdh5b2
> Reporter: Andrey Stepachev
> Assignee: Andrey Stepachev
> Priority: Critical
> Attachments: HIVE-6755.patch
>
>
> Driver holds instance for ZkHiveLockManager. In turn SqlQuery holds it too.
> So if we have many not closed queries we will get many zk sessions.
--
This message was sent by Atlassian JIRA
(v6.2#6252)