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

Lefty Leverenz commented on HIVE-5229:
--------------------------------------

*hive.server2.async.exec.wait.queue.size*, 
*hive.server2.async.exec.keepalive.time*, and the new default value for 
*hive.server2.async.exec.threads* are documented in the wiki here:

* [Configuration Properties:  hive.server2.async.exec.wait.queue.size | 
https://cwiki.apache.org/confluence/display/Hive/Configuration+Properties#ConfigurationProperties-hive.server2.async.exec.wait.queue.size]
* [Configuration Properties:  hive.server2.async.exec.keepalive.time | 
https://cwiki.apache.org/confluence/display/Hive/Configuration+Properties#ConfigurationProperties-hive.server2.async.exec.keepalive.time]
* [Configuration Properties:  hive.server2.async.exec.threads | 
https://cwiki.apache.org/confluence/display/Hive/Configuration+Properties#ConfigurationProperties-hive.server2.async.exec.threads]

> Better thread management for HiveServer2 async threads
> ------------------------------------------------------
>
>                 Key: HIVE-5229
>                 URL: https://issues.apache.org/jira/browse/HIVE-5229
>             Project: Hive
>          Issue Type: Sub-task
>          Components: HiveServer2
>    Affects Versions: 0.12.0, 0.13.0
>            Reporter: Vaibhav Gumashta
>            Assignee: Vaibhav Gumashta
>             Fix For: 0.13.0
>
>         Attachments: HIVE-5229.1.patch, HIVE-5229.2.patch, HIVE-5229.3.patch, 
> HIVE-5229.4.patch, HIVE-5229.5.patch
>
>
> [HIVE-4617|https://issues.apache.org/jira/browse/HIVE-4617] provides support 
> for async execution in HS2. The async (background) thread pool currently 
> creates N threads (server config), which are alive all the time. If all the 
> threads in the pool are busy, a new request is added to a blocking queue. 
> However, we can improve the strategy by not having all the async (background) 
> threads alive when there are no corresponding requests. The async threads 
> should die after a certain timeout if there are no new requests to handle. 



--
This message was sent by Atlassian JIRA
(v6.2#6252)

Reply via email to