You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@hive.apache.org by "Vaibhav Gumashta (JIRA)" <ji...@apache.org> on 2013/10/17 22:44:48 UTC
[jira] [Commented] (HIVE-5229) Better thread management for
HiveServer2 async threads
[ https://issues.apache.org/jira/browse/HIVE-5229?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13798388#comment-13798388 ]
Vaibhav Gumashta commented on HIVE-5229:
----------------------------------------
Review board link: https://reviews.apache.org/r/14719/
> Better thread management for HiveServer2 async threads
> ------------------------------------------------------
>
> Key: HIVE-5229
> URL: https://issues.apache.org/jira/browse/HIVE-5229
> Project: Hive
> Issue Type: Improvement
> 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-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.1#6144)