Return-Path: X-Original-To: apmail-hive-dev-archive@www.apache.org Delivered-To: apmail-hive-dev-archive@www.apache.org Received: from mail.apache.org (hermes.apache.org [140.211.11.3]) by minotaur.apache.org (Postfix) with SMTP id ED182102F1 for ; Mon, 24 Nov 2014 22:26:30 +0000 (UTC) Received: (qmail 11243 invoked by uid 500); 24 Nov 2014 22:26:30 -0000 Delivered-To: apmail-hive-dev-archive@hive.apache.org Received: (qmail 11171 invoked by uid 500); 24 Nov 2014 22:26:30 -0000 Mailing-List: contact dev-help@hive.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: dev@hive.apache.org Delivered-To: mailing list dev@hive.apache.org Received: (qmail 11159 invoked by uid 99); 24 Nov 2014 22:26:30 -0000 Received: from reviews-vm.apache.org (HELO reviews.apache.org) (140.211.11.40) by apache.org (qpsmtpd/0.29) with ESMTP; Mon, 24 Nov 2014 22:26:30 +0000 Received: from reviews.apache.org (localhost [127.0.0.1]) by reviews.apache.org (Postfix) with ESMTP id DAFF26A550; Mon, 24 Nov 2014 22:26:28 +0000 (UTC) Content-Type: multipart/alternative; boundary="===============3472178568509956108==" MIME-Version: 1.0 Subject: Review Request 28416: HIVE-4766:Support HS2 client login timeout when the thrift thread max# is reached From: "Chaoyu Tang" To: "hive" , "Chaoyu Tang" Date: Mon, 24 Nov 2014 22:26:28 -0000 Message-ID: <20141124222628.15978.93176@reviews.apache.org> X-ReviewBoard-URL: https://reviews.apache.org Auto-Submitted: auto-generated Sender: "Chaoyu Tang" X-ReviewGroup: hive X-ReviewRequest-URL: https://reviews.apache.org/r/28416/ X-Sender: "Chaoyu Tang" Reply-To: "Chaoyu Tang" X-ReviewRequest-Repository: hive-git --===============3472178568509956108== MIME-Version: 1.0 Content-Type: text/plain; charset="utf-8" Content-Transfer-Encoding: 7bit ----------------------------------------------------------- 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 --===============3472178568509956108==--