Support Questions

Find answers, ask questions, and share your expertise
Announcements
Celebrating as our community reaches 100,000 members! Thank you!

Need to add value [[session]] ttl=900 to Hue config, using Cloudera Manager

avatar
Contributor

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
1 ACCEPTED SOLUTION

avatar
Super Guru
In the Hue safety valve:

[desktop]
[[session]]
ttl=900


http://gethue.com/how-to-configure-hue-in-your-hadoop-cluster/

*Note:* To override a value in Cloudera Manager, you need to enter verbatim
each mini section from below into the Hue Safety Valve
:
Hue Service → Configuration → Service-Wide → Advanced → Hue Service
Advanced Configuration Snippet (Safety Valve) for hue_safety_valve.ini

Romain

View solution in original post

10 REPLIES 10

avatar
Super Guru
Add
[desktop]
[[session]] ttl=900

to the CM Hue safety Valve:

*Note:* To override a value in Cloudera Manager, you need to enter verbatim
each mini section from below into the Hue Safety Valve
:
Hue Service → Configuration → Service-Wide → Advanced → Hue Service
Advanced Configuration Snippet (Safety Valve) for hue_safety_valve.ini

http://gethue.com/how-to-configure-hue-in-your-hadoop-cluster/

Romain