You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@hive.apache.org by "Aihua Xu (JIRA)" <ji...@apache.org> on 2016/02/25 15:44:18 UTC

[jira] [Reopened] (HIVE-13150) HMS connection leak when the query is run in async

     [ https://issues.apache.org/jira/browse/HIVE-13150?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Aihua Xu reopened HIVE-13150:
-----------------------------

Rather than connection leak, seems we should create different HMSClient for different queries if multiple queries are executing in the same session at the same time to have better performance. 

Right now, we are unnecessarily to use one HMSClient and we have to make HMS calls in sync among different queries. 

> HMS connection leak when the query is run in async
> --------------------------------------------------
>
>                 Key: HIVE-13150
>                 URL: https://issues.apache.org/jira/browse/HIVE-13150
>             Project: Hive
>          Issue Type: Sub-task
>          Components: HiveServer2
>    Affects Versions: 2.0.0
>            Reporter: Aihua Xu
>            Assignee: Aihua Xu
>
> HMS connection leak has been addressed for the session thread, task threads if the execution is run in parallel. 
> While if we execute the queries in async, we will run the queries in separate threads and the HMS connections there are not released. 



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