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

Chaoyu Tang commented on HIVE-12187:
------------------------------------

[~jxiang] I wonder why you save the locks, if any, in the close() method. 
Should not they be released/cleared? In addition, could you upload the patch to 
RB to make it easier for review? Thanks


> Release plan once a query is executed 
> --------------------------------------
>
>                 Key: HIVE-12187
>                 URL: https://issues.apache.org/jira/browse/HIVE-12187
>             Project: Hive
>          Issue Type: Improvement
>            Reporter: Jimmy Xiang
>            Assignee: Jimmy Xiang
>             Fix For: 1.3.0, 2.0.0
>
>         Attachments: HIVE-12187.1.patch, HIVE-12187.2.patch
>
>
> Some clients leave query operations open for a while so that they can 
> retrieve the query results later. That means the allocated memory will be 
> kept around too. We should release those resources not needed for query 
> execution any more once it is executed.



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)

Reply via email to