Explorar el Código

HUE-4999 [impala] Set default Impala idle_session_timeout to 1 hour

spaztic1215 hace 9 años
padre
commit
d77d9e8

+ 2 - 2
apps/impala/src/impala/conf.py

@@ -86,9 +86,9 @@ QUERY_TIMEOUT_S = Config(
 SESSION_TIMEOUT_S = Config(
   key="session_timeout_s",
   help=_t("If SESSION_TIMEOUT_S > 0, the session will be timed out (i.e. cancelled) if Impala does not do any work"
-          " (compute or send back results) for that session within QUERY_TIMEOUT_S seconds."),
+          " (compute or send back results) for that session within QUERY_TIMEOUT_S seconds. Default: 1 hour."),
   type=int,
-  default=12 * 60 * 60
+  default=1 * 60 * 60
 )
 
 CONFIG_WHITELIST = Config(

+ 2 - 2
desktop/conf.dist/hue.ini

@@ -947,8 +947,8 @@
   ## query_timeout_s=600
 
   # If > 0, the session will be timed out (i.e. cancelled) if Impala does not do any work
-  # (compute or send back results) for that session within QUERY_TIMEOUT_S seconds (default 12hours).
-  ## session_timeout_s=43200
+  # (compute or send back results) for that session within QUERY_TIMEOUT_S seconds (default 1 hour).
+  ## session_timeout_s=3600
 
   # Override the desktop default username and password of the hue user used for authentications with other services.
   # e.g. Used for LDAP/PAM pass-through authentication.

+ 2 - 2
desktop/conf/pseudo-distributed.ini.tmpl

@@ -951,8 +951,8 @@
   ## query_timeout_s=600
 
   # If > 0, the session will be timed out (i.e. cancelled) if Impala does not do any work
-  # (compute or send back results) for that session within QUERY_TIMEOUT_S seconds (default 12hours).
-  ## session_timeout_s=43200
+  # (compute or send back results) for that session within QUERY_TIMEOUT_S seconds (default 1 hour).
+  ## session_timeout_s=3600
 
   # Override the desktop default username and password of the hue user used for authentications with other services.
   # e.g. Used for LDAP/PAM pass-through authentication.