hive-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Vaibhav Gumashta (JIRA)" <>
Subject [jira] [Commented] (HIVE-5229) Better thread management for HiveServer2 async threads
Date Fri, 25 Oct 2013 05:00:32 GMT


Vaibhav Gumashta commented on HIVE-5229:

[~cwsteinbach] Will post an updated patch soon. Do you have any thoughts on the strategy though
(discussed on the rb link with [~thejas])?

> Better thread management for HiveServer2 async threads
> ------------------------------------------------------
>                 Key: HIVE-5229
>                 URL:
>             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|] 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

View raw message