Adding an external S3 bucket to your CDW environment
If you try to access an external S3 bucket from the Hue web interface without adding it to the CDW environment, then Impala or Hive may display the “AccessDeniedException 403” exception. Make sure that your Cloudera Data Warehouse (CDW) environment has access to the S3 buckets that you want to access from Hue.
To add read/write access to external S3 buckets that reside in the same AWS account as the CDW service cluster or that are different from the account where the CDW service cluster resides, see the corresponding links in the Related information section.
- Sign in to the CDP Management Console as an administrator.
- Go to More… menu. and click the
Search and locate the environment in which you want to add the S3 bucket and
click the edit icon.
The Environment Details page is displayed.
Specify the name of the S3 bucket you want to configure access to in the
Add External S3 Bucket text box.
If the bucket belongs to another AWS account, then select the Bucket belongs to different AWS account option.
Select the access mode.
Read-only access is sufficient to import data in Hue.
Click Add Bucket to save the configuration.
A success message is displayed.
Click APPLY to update the CDW environment.