Configuring custom properties using safety valves

You can configure Hue properties that are not directly exposed through the Cloudera Data Warehouse (CDW) web interface by specifying them in the Hue's Advanced Configuration Snippet called hue-safety-valve for a Virtual Warehouse. These configurations are stored in the hue.ini file.

  1. Log in to the Data Warehouse service as DWAdmin.
  2. Go to the Virtual Warehouses tab, locate the Virtual Warehouse associated with Hue, and click > Edit.
    The Virtual Warehouse Details page is displayed.
  3. Go to the Configurations tab, select Hue, and select hue-safety-valve from the Configuration files drop-down menu.

    Hue safety valve configuration
  4. Specify the custom configuration properties in the space provided as shown in the following examples:
    For AWS:
    [aws]
      [[aws_accounts]]
        [[[default]]]
          access_key_id=<access key id>
          secret_access_key=<secret access key>
          region=<aws region>
    For Azure:
    [azure]
      [[azure_accounts]]
        [[[default]]]
          client_id=<client id>
          client_secret=<client secret>
          tenant_id=<tenant id>
    [azure]
      [[abfs_clusters]]
         [[[default]]]
           fs_defaultfs=abfs://<container name>@<storage account>.dfs.core.windows.net
           webhdfs_url=https://<storage account>.dfs.core.windows.net/
  5. Click Apply Changes.