[ 
https://issues.apache.org/jira/browse/HIVE-3723?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13503024#comment-13503024
 ] 

Ashutosh Chauhan commented on HIVE-3723:
----------------------------------------

Around line 910 if compile returns non-zero value, then also we 
releaseLocks(List<Lock>) and then return. There also, we should call destroy() 
instead of releaseLocks.
                
> Hive Driver leaks ZooKeeper connections
> ---------------------------------------
>
>                 Key: HIVE-3723
>                 URL: https://issues.apache.org/jira/browse/HIVE-3723
>             Project: Hive
>          Issue Type: Bug
>            Reporter: Gunther Hagleitner
>            Assignee: Gunther Hagleitner
>         Attachments: HIVE-3723.1-r1411423.patch
>
>
> In certain error cases (i.e.: statement fails to compile, semantic errors) 
> the hive driver leaks zookeeper connections.
> This can be seen in the TestNegativeCliDriver test which accumulates a large 
> number of open file handles and fails if the max allowed number of file 
> handles isn't at least 2048.

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira

Reply via email to