Created on 02-23-2015 12:23 PM - edited 09-16-2022 02:22 AM
I need to add "ttl" value to Hue configuration. We are using Cloudera Manager (which would mean that Hue config would be set in /var/run/cloudera-scm-agent/process/XXX-hue-HUE_SERVER/hue.ini), thus manually updating hue.ini in /etc/hue/conf will not activate the change. However, value "ttl" in "session" is not available in Cloudera Manager UI.
The following packages are being used in a cluster:
cloudera-manager-server-5.3.0-1.cm530.p0.166.el6.x86_64
cloudera-manager-server-db-2-5.3.0-1.cm530.p0.166.el6.x86_64
cloudera-manager-agent-5.3.0-1.cm530.p0.166.el6.x86_64
cloudera-manager-daemons-5.3.0-1.cm530.p0.166.el6.x86_64
Hue v3.7
How can "ttl" parameter be implemented in this scenario?
[desktop] [[session]] ttl=900
Created 02-23-2015 07:40 PM
Created 02-23-2015 07:40 PM
Created 02-24-2015 12:15 PM
Created 07-14-2015 12:11 PM
So is this ttl (time-to-live) setting based on idle time or a does it only allow that many seconds before automatically logging off of the Hue website (regardless of activity)?
Created 07-14-2015 12:24 PM
This is for period of inactivity. If you are actively using HUE, you won't be logged off. In various scenarios - like compliant and/or secure clusters - it would be required to set up automated timeout for idle users.
Created 07-14-2015 12:47 PM
Created on 07-14-2015 12:55 PM - edited 07-14-2015 12:56 PM
Very helpful. Thanks Romain and nataliaking_csc.
Created 07-14-2015 01:01 PM
Great, thank you for clarification. I didn't realize it logs me out even if I remain active. Good to know!
Created 07-30-2015 07:57 AM
Hello Romain,
I made the following changes as mentioned via CM and restarted the Hue server to make the changes effectve.
However, will this update the hue.ini file in the backend (in our case <path>/CDH-5.4.1-1.cdh5.4.1.p0.6/etc/hue/conf.empty/hue.ini) ?
Or which file is actually affected due to this modification.
Thanks in advacne for your reply.
Abraham
Created 07-30-2015 08:39 AM