Return-Path: X-Original-To: archive-asf-public-internal@cust-asf2.ponee.io Delivered-To: archive-asf-public-internal@cust-asf2.ponee.io Received: from cust-asf.ponee.io (cust-asf.ponee.io [163.172.22.183]) by cust-asf2.ponee.io (Postfix) with ESMTP id 4A8EB200C89 for ; Sat, 20 May 2017 03:16:39 +0200 (CEST) Received: by cust-asf.ponee.io (Postfix) id 49141160BD4; Sat, 20 May 2017 01:16:39 +0000 (UTC) Delivered-To: archive-asf-public@cust-asf.ponee.io Received: from mail.apache.org (hermes.apache.org [140.211.11.3]) by cust-asf.ponee.io (Postfix) with SMTP id 90D03160BD2 for ; Sat, 20 May 2017 03:16:38 +0200 (CEST) Received: (qmail 9387 invoked by uid 500); 20 May 2017 01:16:37 -0000 Mailing-List: contact commits-help@hive.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: hive-dev@hive.apache.org Delivered-To: mailing list commits@hive.apache.org Received: (qmail 9326 invoked by uid 99); 20 May 2017 01:16:36 -0000 Received: from git1-us-west.apache.org (HELO git1-us-west.apache.org) (140.211.11.23) by apache.org (qpsmtpd/0.29) with ESMTP; Sat, 20 May 2017 01:16:36 +0000 Received: by git1-us-west.apache.org (ASF Mail Server at git1-us-west.apache.org, from userid 33) id 75462DFEF3; Sat, 20 May 2017 01:16:36 +0000 (UTC) Content-Type: text/plain; charset="us-ascii" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit From: sershe@apache.org To: commits@hive.apache.org Date: Sat, 20 May 2017 01:16:38 -0000 Message-Id: <42e2303d14204a68addef329c284f096@git.apache.org> In-Reply-To: <6e4af1fd056a4259b510f0e4ffbdb281@git.apache.org> References: <6e4af1fd056a4259b510f0e4ffbdb281@git.apache.org> X-Mailer: ASF-Git Admin Mailer Subject: [3/3] hive git commit: HIVE-16724 : increase session timeout for LLAP ZK token manager (Sergey Shelukhin, reviewed by Jason Dere) archived-at: Sat, 20 May 2017 01:16:39 -0000 HIVE-16724 : increase session timeout for LLAP ZK token manager (Sergey Shelukhin, reviewed by Jason Dere) Project: http://git-wip-us.apache.org/repos/asf/hive/repo Commit: http://git-wip-us.apache.org/repos/asf/hive/commit/bb2f25c1 Tree: http://git-wip-us.apache.org/repos/asf/hive/tree/bb2f25c1 Diff: http://git-wip-us.apache.org/repos/asf/hive/diff/bb2f25c1 Branch: refs/heads/master Commit: bb2f25c1a189b031a9601cb00a3dc2f5d6f5ac4a Parents: 8d951fa Author: sergey Authored: Fri May 19 17:34:24 2017 -0700 Committer: sergey Committed: Fri May 19 17:34:24 2017 -0700 ---------------------------------------------------------------------- .../org/apache/hadoop/hive/conf/HiveConf.java | 2 ++ .../hive/llap/security/SecretManager.java | 20 ++++++++++++++------ 2 files changed, 16 insertions(+), 6 deletions(-) ---------------------------------------------------------------------- http://git-wip-us.apache.org/repos/asf/hive/blob/bb2f25c1/common/src/java/org/apache/hadoop/hive/conf/HiveConf.java ---------------------------------------------------------------------- diff --git a/common/src/java/org/apache/hadoop/hive/conf/HiveConf.java b/common/src/java/org/apache/hadoop/hive/conf/HiveConf.java index 1c37b6e..7dedd23 100644 --- a/common/src/java/org/apache/hadoop/hive/conf/HiveConf.java +++ b/common/src/java/org/apache/hadoop/hive/conf/HiveConf.java @@ -3074,6 +3074,8 @@ public class HiveConf extends Configuration { "By default, the clients are required to provide tokens to access HDFS/etc."), LLAP_ZKSM_ZK_CONNECTION_STRING("hive.llap.zk.sm.connectionString", "", "ZooKeeper connection string for ZooKeeper SecretManager."), + LLAP_ZKSM_ZK_SESSION_TIMEOUT("hive.llap.zk.sm.session.timeout", "40s", new TimeValidator( + TimeUnit.MILLISECONDS), "ZooKeeper session timeout for ZK SecretManager."), LLAP_ZK_REGISTRY_USER("hive.llap.zk.registry.user", "", "In the LLAP ZooKeeper-based registry, specifies the username in the Zookeeper path.\n" + "This should be the hive user or whichever user is running the LLAP daemon."), http://git-wip-us.apache.org/repos/asf/hive/blob/bb2f25c1/llap-common/src/java/org/apache/hadoop/hive/llap/security/SecretManager.java ---------------------------------------------------------------------- diff --git a/llap-common/src/java/org/apache/hadoop/hive/llap/security/SecretManager.java b/llap-common/src/java/org/apache/hadoop/hive/llap/security/SecretManager.java index 08f8b32..8e4f233 100644 --- a/llap-common/src/java/org/apache/hadoop/hive/llap/security/SecretManager.java +++ b/llap-common/src/java/org/apache/hadoop/hive/llap/security/SecretManager.java @@ -175,18 +175,26 @@ public class SecretManager extends ZKDelegationTokenSecretManager