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

Jimmy Xiang commented on HIVE-12187:
------------------------------------

[~alangates], patch v2 touched the HiveLocks a little. When compiling a new 
query, a new Context is created, and the HiveLocks in the old Context is lost. 
Patch v2 saves the HiveLocks in the old Context so that they can be released 
later. Is there any problem with this change?

> 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