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

Aihua Xu updated HIVE-13150:
----------------------------
    Description: 
Seems we should create different HMSClient for different queries if multiple 
queries are executing in the same session in async 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.


  was:
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. 


> When multiple queries are running in the same session, they are sharing the 
> same HMS Client.
> --------------------------------------------------------------------------------------------
>
>                 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
>
> Seems we should create different HMSClient for different queries if multiple 
> queries are executing in the same session in async 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.



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

Reply via email to