hive-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Alan Gates (JIRA)" <>
Subject [jira] [Commented] (HIVE-6755) Zookeeper Lock Manager leaks zookeeper connections.
Date Thu, 24 Apr 2014 00:47:15 GMT


Alan Gates commented on HIVE-6755:

This patch no longer applies due to the changes to 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:
>             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

View raw message