Home | About | Sematext search-lucene.com search-hadoop.com
 Search Hadoop and all its subprojects:

Switch to Threaded View
Hive, mail # dev - Review Request 14719: Better thread management for HiveServer2 async threads


Copy link to this message
-
Re: Review Request 14719: Better thread management for HiveServer2 async threads
Vaibhav Gumashta 2013-11-06, 21:46

-----------------------------------------------------------
This is an automatically generated e-mail. To reply, visit:
https://reviews.apache.org/r/14719/
-----------------------------------------------------------

(Updated Nov. 6, 2013, 9:46 p.m.)
Review request for hive and Thejas Nair.
Changes
-------

Changes per last feedback.
Bugs: HIVE-5229
    https://issues.apache.org/jira/browse/HIVE-5229
Repository: hive-git
Description
-------

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.
Diffs (updated)
-----

  common/src/java/org/apache/hadoop/hive/conf/HiveConf.java fb3570b
  conf/hive-default.xml.template b7234b4
  service/src/java/org/apache/hive/service/cli/operation/SQLOperation.java f6adf92
  service/src/java/org/apache/hive/service/cli/session/SessionManager.java f392d62

Diff: https://reviews.apache.org/r/14719/diff/
Testing
-------

TestEmbeddedThriftBinaryCLIService, TestThriftBinaryCLIService, TestJdbcDriver2
Thanks,

Vaibhav Gumashta