Hue configurations in CDP Runtime

Cloudera Manager exposes properties that allow you to insert custom configuration text into XML configuration, property, and text files, or into an environment. The configuration snippet mechanism is intended for use in cases where there is a configuration setting that is not exposed as a configuration property in the Cloudera Manager web interface. Configuration snippets generally override normal configuration. You can configure custom properties for Hue by specifying them in the Advanced Configuration Snippet (Safety valve) field in Cloudera Manager.

The following table lists the safety valve parameters supported by Hue in Cloudera Data Warehouse:
Parameter Description
[[desktop]]
app_blacklist
Used to add or remove applications, such as the File Browser, Impala, Hive, Oozie, and so on from the blocked list of applications.
[desktop]
   [[session]]
    ttl=[***NUMBER-OF-SECONDS***]
Used to configure the duration of a user session. The ttl property determines the length of time that the cookie with the user's session ID lives before expiring. After the ttl setting is reached, the user's session expires whether it is active or not.

The default setting for ttl is 1,209,600 seconds, which equals two weeks.

[jobbrowser]
  enable_queries_list=true
Used to display or hide the Queries tab on the Job Browser page. By default, the value of the enable_queries_list property is set to true. To hide the Queries tab, set the value to false.
[aws]
[[aws_accounts]]
[[[default]]]
access_key_id=[***AWS-ACCESS-KEY***]
secret_access_key=[***SECRET-ACCESS-KEY***]
region=[***AWS-REGION***]
Used to enable the S3 File Browser for Hue without IDBroker.
[aws]
has_iam_detection=true
[[aws_accounts]]
[[[default]]]
region=[***AWS-REGION***]
Used to enable the S3 File Browser for Hue with IDBroker.
[desktop]
[azure]
  [[azure_accounts]]
    [[[default]]]
      client_id=[***AZURE-ACCOUNT-CLIENT-ID***]
      client_secret=[***AZURE-ACCOUNT-CLIENT-SECRET***]
      tenant_id=[***AZURE-ACCOUNT-TENANT-ID***]

    [[abfs_clusters]]
      [[[default]]]   
		fs_defaultfs=abfs://[***CONTAINER-NAME***]@[***AZURE-STORAGE-ACCOUNT-NAME***]>.dfs.core.windows.net
              webhdfs_url=https://[***AZURE-STORAGE-ACCOUNT-NAME***].dfs.core.windows.net/
Used to enable the ABFS File Browser for Hue without IDBroker.
[desktop]
[azure]
[[abfs_clusters]]
[[[default]]]   
	fs_defaultfs=abfs://[***CONTAINER-NAME***]@[***AZURE-STORAGE-ACCOUNT-NAME***]>.dfs.core.windows.net
       webhdfs_url=https://[***AZURE-STORAGE-ACCOUNT-NAME***].dfs.core.windows.net/
Used to enable the ABFS File Browser for Hue with IDBroker.
[filebrowser]
remote_storage_home=s3a://[***S3-BUCKET-NAME***]
(Optional) Used to set a specific home directory path for your S3 bucket.
[filebrowser] 
show_upload_button
Used to enable or disable file upload. Valid values: true and false.
[filebrowser]
show_download_button
Used to enable or disable file download. Valid values: true and false.
[desktop]
enable_download
Used to enable or disable the downloading of results. Valid values: true and false.
[desktop]
[[auth]]
session_idle_timeout=[***TIME-IN-SECONDS***]
Logs out users after the specified time of inactivity in seconds. For example, 600 seconds.

Contact Cloudera Support if you are required to use a configuration snippet that is not explicitly documented.