- Subscribe to RSS Feed
- Mark Question as New
- Mark Question as Read
- Float this Question for Current User
- Bookmark
- Subscribe
- Mute
- Printer Friendly Page
Set values in hue.ini from a Director script
- Labels:
-
Cloudera Hue
Created on ‎02-09-2017 02:01 AM - edited ‎09-16-2022 04:02 AM
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Hi there,
I would like to set a Hue configuration value automatically at cluster instantiation, through my Cloudera Director configuration file.
I guess I could write a post-creation script that finds the correct hue.ini file, modify it and restart Hue, but isn't there a simpler solution to do it ?
The configuration I would like to set is :
[desktop] allowed_hosts=*
Thank you very much.
Created ‎02-09-2017 08:09 AM
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
do this by setting this hue_service_safety_valve service level config for
Hue. If you're using a config file:
cluster {
....
configs {
....
HUE: {
hue_service_safety_valve: """
[desktop]
allowed_hosts=*
"""
}
}
....
}
Note that I haven't totally tested this myself yet, but I'll actually go
ahead and do this right after this reply and confirm.
Created ‎02-09-2017 08:09 AM
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
do this by setting this hue_service_safety_valve service level config for
Hue. If you're using a config file:
cluster {
....
configs {
....
HUE: {
hue_service_safety_valve: """
[desktop]
allowed_hosts=*
"""
}
}
....
}
Note that I haven't totally tested this myself yet, but I'll actually go
ahead and do this right after this reply and confirm.
Created ‎02-09-2017 10:06 AM
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Created ‎02-13-2017 04:06 AM
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Indeed, thank you very much ! 🙂
