hive-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Chaoyu Tang" <ctang...@gmail.com>
Subject Review Request 28416: HIVE-4766:Support HS2 client login timeout when the thrift thread max# is reached
Date Mon, 24 Nov 2014 22:26:28 GMT

-----------------------------------------------------------
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


Mime
  • Unnamed multipart/alternative (inline, None, 0 bytes)
View raw message