2018-09-11-how-to-configure-hue-to-enable-s3-file-browser-for-standard-or-v4-regions.md 4.3 KB


title: How to Configure Hue to enable S3 file browser for standard or V4 regions author: admin type: post date: 2018-09-11T15:44:50+00:00 url: /how-to-configure-hue-to-enable-s3-file-browser-for-standard-or-v4-regions/ sf_left_sidebar:

  • Sidebar-2 sf_sidebar_config:
  • left-sidebar sf_related_articles:
  • 1 sf_social_sharing:
  • 1 sf_author_info:
  • 1 sf_background_image_size:
  • cover sf_page_title_text_style:
  • light sf_page_title_bg:
  • none sf_no_breadcrumbs:
  • 1 sf_page_title_style:
  • standard sf_page_title:
  • 1 sf_detail_type:
  • none sf_thumbnail_link_type:
  • link_to_post sf_thumbnail_type:
  • none ampforwp-amp-on-off:
  • default sf_remove_promo_bar:
  • 1 sf_caption_position:
  • caption-right sf_right_sidebar:
  • Sidebar-1 categories:
  • Version 4

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.