Browse Source

HUE-7805 [impala] Lower idle session timeout from 1 hour to 30 minutes

Romain Rigaux 8 years ago
parent
commit
9c7dfee

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

@@ -90,9 +90,9 @@ QUERY_TIMEOUT_S = Config(
 SESSION_TIMEOUT_S = Config(
 SESSION_TIMEOUT_S = Config(
   key="session_timeout_s",
   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"
   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. Default: 1 hour."),
+          " (compute or send back results) for that session within SESSION_TIMEOUT_S seconds. Default: 30 min."),
   type=int,
   type=int,
-  default=1 * 60 * 60
+  default=30 * 60
 )
 )
 
 
 CONFIG_WHITELIST = Config(
 CONFIG_WHITELIST = Config(

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

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

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

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