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 49b8f97..75eb996 100644 --- a/common/src/java/org/apache/hadoop/hive/conf/HiveConf.java +++ b/common/src/java/org/apache/hadoop/hive/conf/HiveConf.java @@ -1935,12 +1935,14 @@ public void setSparkConfigUpdated(boolean isSparkConfigUpdated) { HIVE_SECURITY_COMMAND_WHITELIST("hive.security.command.whitelist", "set,reset,dfs,add,list,delete,reload,compile", "Comma separated list of non-SQL Hive commands users are authorized to execute"), - HIVE_SERVER2_SESSION_CHECK_INTERVAL("hive.server2.session.check.interval", "0ms", + HIVE_SERVER2_SESSION_CHECK_INTERVAL("hive.server2.session.check.interval", "4h", 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_IDLE_SESSION_TIMEOUT("hive.server2.idle.session.timeout", "0ms", + "The check interval for session/operation timeout, which can be disabled by setting to zero or negative value.\n" + + " Default is once every 4 hours."), + HIVE_SERVER2_IDLE_SESSION_TIMEOUT("hive.server2.idle.session.timeout", "72h", 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."), + "Session will be closed when it's not accessed for this duration, which can be disabled by setting to zero or negative value.\n" + + " Default timeout is 72 hours."), HIVE_SERVER2_IDLE_OPERATION_TIMEOUT("hive.server2.idle.operation.timeout", "0ms", 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" +