[
https://issues.apache.org/jira/browse/HIVE-12187?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=14969830#comment-14969830
]
Jimmy Xiang commented on HIVE-12187:
------------------------------------
[~ctang.ma], thanks a lot for the review. For the locks related change, I think
it is to fix some possible leakage too. I don't think it is intentional
although I don't have a case to prove it. We can handle it in a separate jira
if it is intentioal.
It could happen if there is a transaction, and at the end, no commit/rollback
is called, instead, the driver is destroyed when the session is closed.
> 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)