[
https://issues.apache.org/jira/browse/HIVE-11485?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=15085829#comment-15085829
]
Xuefu Zhang commented on HIVE-11485:
------------------------------------
It's unclear to me why we would consider asynchronous operations as independent
of a session. One cannot launch such a SQL operation w/o a session. Thus, it
seems natural and reasonable to me that closing a session closes everything
that belongs to it.
Leaving these operations behind after session is closed creates hazard in
managing the operations and depletes server resources.
> Session close should not close async SQL operations
> ---------------------------------------------------
>
> Key: HIVE-11485
> URL: https://issues.apache.org/jira/browse/HIVE-11485
> Project: Hive
> Issue Type: Improvement
> Components: HiveServer2
> Reporter: Amareshwari Sriramadasu
> Assignee: Deepak Barr
> Attachments: HIVE-11485.master.patch
>
>
> Right now, session close on HiveServer closes all operations. But, queries
> running are actually available across sessions and they are not tied to a
> session (expect the launch - which requires configuration and resources). And
> it allows getting the status of the query across sessions.
> But session close of the session ( on which operation is launched) closes all
> the operations as well.
> So, we should avoid closing all operations upon closing a session.
--
This message was sent by Atlassian JIRA
(v6.3.4#6332)