Administering HuePDF version

Setting the cache timeout

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 the [desktop][[custom]] section in the Hue Service Advanced Configuration Snippet (Safety Valve) for hue_safety_valve.ini configuration property in Cloudera Manager.
  1. Log in to Cloudera Manager as an Administrator.
  2. Go to Clusters > Hue > Configuration
  3. 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.
  4. 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
  5. Click Save Changes.
  6. Restart the Hue service.

We want your opinion

How can we improve this page?

What kind of feedback do you have?