Better thread management for HiveServer2 async threads
Review Request #14719 - Created Oct. 17, 2013 and updated
Improves the current strategy by not keeping all the async threads alive when there are no corresponding requests. The async threads terminate after a configurable keepalive time if there are no new requests to handle.
TestEmbeddedThriftBinaryCLIService, TestThriftBinaryCLIService, TestJdbcDriver2
|The timeout is applicable only if the number of threads are more than corePoolSize. But since corePoolSize==maxPoolSize, it won't have ...||Thejas Nair||Oct. 24, 2013, 8:43 a.m.||Open|
|From the docs it seems that when maxThreads > coreThreads, the extra threads are killed after the keepalive time. Setting ...||Vaibhav Gumashta||Oct. 24, 2013, 5:32 p.m.||Open|