You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@hive.apache.org by Chaoyu Tang <ct...@gmail.com> on 2014/11/24 23:26:28 UTC
Review Request 28416: HIVE-4766:Support HS2 client login timeout when
the thrift thread max# is reached
-----------------------------------------------------------
This is an automatically generated e-mail. To reply, visit:
https://reviews.apache.org/r/28416/
-----------------------------------------------------------
Review request for hive.
Repository: hive-git
Description
-------
Hive has upgraded to use Thrift-0.92 (See HIVE-8829) which includes THRIFT-2046 that provides the supports to loginTimeout and binary exponential backoff algorithm in login retry interval. Change Hive to adopt these features with two new configurations added:
1. hive.server2.thrift.login.timeout -- Timeout for thrift clients during login to HiveServer2
2. hive.server2.thrift.exponential.backoff.slot.length -- Binary exponential backoff slot time for thrift clients during login to HiveServer2, for retries until hitting thrift client timeout
Diffs
-----
common/src/java/org/apache/hadoop/hive/conf/HiveConf.java 6fb31272ec0b48a7772a4a9165fa546bbf9a1264
service/src/java/org/apache/hive/service/cli/thrift/ThriftBinaryCLIService.java 3c58453434c9a68cdac52ab20c72f63cdf20a785
Diff: https://reviews.apache.org/r/28416/diff/
Testing
-------
Manual tests and pre-committed tests
Thanks,
Chaoyu Tang