Enabling S3 browser for Hue configured without IDBroker

You can access the S3 buckets from Hue to upload files and tables to S3 and import CSV files as tables directly in Hue by enabling the S3 browser. You must specify the AWS access key and secret access key information along with the AWS region in the Hue Server Advanced Configuration Snippet if you have not set up authentication using Knox IDBroker.

  1. Sign in to Cloudera Manager as an Admin user.
  2. Go to Clusters > $Cluster Name (Hue) > Configuration.
  3. Specify the following in the Hue Server Advanced Configuration Snippet (Safety Valve) for hue_safety_valve_server.ini field:
    [aws]
    [[aws_accounts]]
    [[[default]]]
    access_key_id=<aws_access_key>
    secret_access_key=<secret_access_key>
    region=<aws_region>
    The custom configuration is stored in the hue_safety_valve_server.ini file.
  4. Click Apply.
    The S3 browser icon appears on the left Assist panel as well as on the left navigation bar on the Hue web UI.