Enable Hue UI caching by setting a timeout in milliseconds. The default
is 86400000 milliseconds or one day. Set the timeout to 0 to disable
caching. You can set the cache timeout using the cacheable_ttl
property under
[desktop][[custom]]
in the Hue Service
Advanced Configuration Snippet (Safety Valve) for
hue_safety_valve.ini configuration property in Cloudera Manager as follows.
To set the cache timeout value:
-
In the Cloudera Manager Admin Console, select to navigate to the configuration page for Hue.
-
In the Search text box, type hue_safety_valve.ini to locate the
Hue Service Advanced Configuration Snippet (Safety Valve) for
hue_safety_valve.ini configuration parameter.
-
Add the following parameters with the cache timeout value to the Hue Service
Advanced Configuration Snippet (Safety Valve) for hue_safety_valve.ini
configuration parameter:
[desktop]
[[custom]]
cacheable_ttl=<value_in_milliseconds>
For example, the following configuration sets the cache timeout to the default value of
86400000 milliseconds:
[desktop]
[[custom]]
cacheable_ttl=86400000
-
Click Save Changes at the bottom of the page to save the
configuration change.
-
Refresh the browser page and click the restart icon at the top of the page so the new
configuration changes can be read by the server and the new cache timeout limit takes
effect.