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

hashutosh 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 842fdd2  HIVE-21341 : Sensible defaults : 
hive.server2.idle.operation.timeout and hive.server2.idle.session.timeout are 
too high (Ashutosh Chauhan via Thejas Nair)
842fdd2 is described below

commit 842fdd2d868da7c0ba48c19d85d6668e6cdee8f3
Author: Ashutosh Chauhan <[email protected]>
AuthorDate: Mon Feb 3 12:55:15 2020 -0800

    HIVE-21341 : Sensible defaults : hive.server2.idle.operation.timeout and 
hive.server2.idle.session.timeout are too high (Ashutosh Chauhan via Thejas 
Nair)
    
    Signed-off-by: Ashutosh Chauhan <[email protected]>
---
 common/src/java/org/apache/hadoop/hive/conf/HiveConf.java | 6 +++---
 1 file changed, 3 insertions(+), 3 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 93d6ff6..7bb860b 100644
--- a/common/src/java/org/apache/hadoop/hive/conf/HiveConf.java
+++ b/common/src/java/org/apache/hadoop/hive/conf/HiveConf.java
@@ -3674,15 +3674,15 @@ public class HiveConf extends Configuration {
          "Whether enable loading UDFs from metastore on demand; this is mostly 
relevant for\n" +
          "HS2 and was the default behavior before Hive 1.2. Off by default."),
 
-    HIVE_SERVER2_SESSION_CHECK_INTERVAL("hive.server2.session.check.interval", 
"6h",
+    HIVE_SERVER2_SESSION_CHECK_INTERVAL("hive.server2.session.check.interval", 
"15m",
         new TimeValidator(TimeUnit.MILLISECONDS, 3000l, true, null, false),
         "The check interval for session/operation timeout, which can be 
disabled by setting to zero or negative value."),
     
HIVE_SERVER2_CLOSE_SESSION_ON_DISCONNECT("hive.server2.close.session.on.disconnect",
 true,
       "Session will be closed when connection is closed. Set this to false to 
have session outlive its parent connection."),
-    HIVE_SERVER2_IDLE_SESSION_TIMEOUT("hive.server2.idle.session.timeout", 
"7d",
+    HIVE_SERVER2_IDLE_SESSION_TIMEOUT("hive.server2.idle.session.timeout", 
"4h",
         new TimeValidator(TimeUnit.MILLISECONDS),
         "Session will be closed when it's not accessed for this duration, 
which can be disabled by setting to zero or negative value."),
-    HIVE_SERVER2_IDLE_OPERATION_TIMEOUT("hive.server2.idle.operation.timeout", 
"5d",
+    HIVE_SERVER2_IDLE_OPERATION_TIMEOUT("hive.server2.idle.operation.timeout", 
"2h",
         new TimeValidator(TimeUnit.MILLISECONDS),
         "Operation will be closed when it's not accessed for this duration of 
time, which can be disabled by setting to zero value.\n" +
         "  With positive value, it's checked for operations in terminal state 
only (FINISHED, CANCELED, CLOSED, ERROR).\n" +

Reply via email to