This is an automated email from the ASF dual-hosted git repository.

gates pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/hive.git


The following commit(s) were added to refs/heads/master by this push:
     new 967a1cc  HIVE-20854 Sensible Defaults: Hive's Zookeeper heartbeat 
interval is 20 minutes, change to 2 (Gopal V via Alan Gates)
967a1cc is described below

commit 967a1cc98beede8e6568ce750ebeb6e0d048b8ea
Author: Alan Gates <ga...@hortonworks.com>
AuthorDate: Tue Jun 25 15:02:46 2019 -0700

    HIVE-20854 Sensible Defaults: Hive's Zookeeper heartbeat interval is 20 
minutes, change to 2 (Gopal V via Alan Gates)
---
 common/src/java/org/apache/hadoop/hive/conf/HiveConf.java | 2 +-
 ql/src/test/results/clientpositive/show_conf.q.out        | 2 +-
 2 files changed, 2 insertions(+), 2 deletions(-)

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 0215d09..2d577d4 100644
--- a/common/src/java/org/apache/hadoop/hive/conf/HiveConf.java
+++ b/common/src/java/org/apache/hadoop/hive/conf/HiveConf.java
@@ -2587,7 +2587,7 @@ public class HiveConf extends Configuration {
         "The port of ZooKeeper servers to talk to.\n" +
         "If the list of Zookeeper servers specified in 
hive.zookeeper.quorum\n" +
         "does not contain port numbers, this value is used."),
-    HIVE_ZOOKEEPER_SESSION_TIMEOUT("hive.zookeeper.session.timeout", 
"1200000ms",
+    HIVE_ZOOKEEPER_SESSION_TIMEOUT("hive.zookeeper.session.timeout", 
"120000ms",
         new TimeValidator(TimeUnit.MILLISECONDS),
         "ZooKeeper client's session timeout (in milliseconds). The client is 
disconnected, and as a result, all locks released, \n" +
         "if a heartbeat is not sent in the timeout."),
diff --git a/ql/src/test/results/clientpositive/show_conf.q.out 
b/ql/src/test/results/clientpositive/show_conf.q.out
index 9d4a317..f27eea9 100644
--- a/ql/src/test/results/clientpositive/show_conf.q.out
+++ b/ql/src/test/results/clientpositive/show_conf.q.out
@@ -26,4 +26,4 @@ PREHOOK: query: show conf "hive.zookeeper.session.timeout"
 PREHOOK: type: SHOWCONF
 POSTHOOK: query: show conf "hive.zookeeper.session.timeout"
 POSTHOOK: type: SHOWCONF
-1200000ms      STRING(TIME)    Expects a time value with unit (d/day, h/hour, 
m/min, s/sec, ms/msec, us/usec, ns/nsec), which is msec if not specified. 
ZooKeeper client's session timeout (in milliseconds). The client is 
disconnected, and as a result, all locks released, if a heartbeat is not sent 
in the timeout.
+120000ms       STRING(TIME)    Expects a time value with unit (d/day, h/hour, 
m/min, s/sec, ms/msec, us/usec, ns/nsec), which is msec if not specified. 
ZooKeeper client's session timeout (in milliseconds). The client is 
disconnected, and as a result, all locks released, if a heartbeat is not sent 
in the timeout.

Reply via email to