How to Configure Hue to enable S3 file browser for standard or V4 regions

Published on 11 September 2018 in Version 4 - 2 minutes read - Last modified on 06 March 2021

Hello, S3 cloud users,

Hue started supporting S3 since Hue 3.9. Let’s go through the detailed steps to enable S3 on Hue for CM-managed cluster:

  1. Go to your CM UI: http://$YOURCMHost:7180/cmf/home

  2. Click on “Administration”->”External Accounts”, http://$YOURCMHost:7180/cmf/accounts?category=AWS

  3. On tab “AWS Credentials”

Click on “Add Access Key Credentials” button to land following dialog

  1. Filled in your S3 key id and secret key then click “Add” to land follow page:

  1. Keep “Enable S3Guard” unchecked and Click “Save” to land follow page:

  1. Then click on “Enable for Cluster 1” to follow the wizard to “Add S3 Connector Service to Cluster 1”

By default choose “More Secure” option (Hive S3 integration will not work out of the box, but impala/HDFS/Hue works); If you do need hive query editor to work with S3, choose “Less Secure” option here.

  1. Click “Continue” and “Restart Now”

  1. Click “Continue”

  1. Click “Continue” then “Finish”

Hooray, now you are able to use S3 in HUE. You can create tables with CSV files at S3 locations or save/export query results to S3 locations(all V2 regions).

Configure cluster for V4 region access

If you need access bucket in any S3 V4 region like “s3.eu-central-1.amazonaws.com”, remember to config it through CM on following page:

http://$YourCMHost:7180/cmf/services/14/config?q=s3_endpoint#filterfreeText=s3_endpoint

Fill in the s3 endpoint like: s3.eu-central-1.amazonaws.com then click “Save Changes”

Then “Restart stale services” (Re-deploy client configuration-Restart Now)

Now you are ready to create/use S3 buckets in your configured V4 region.


comments powered by Disqus

More recent stories

26 June 2024
Integrating Trino Editor in Hue: Supporting Data Mesh and SQL Federation
Read More
03 May 2023
Discover the power of Apache Ozone using the Hue File Browser
Read More