Enabling S3 browser for Hue configured with 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 on the Hue user interface.
If you have set up authentication using Knox IDBroker on your cluster, then Hue
automatically detects and uses the IDBroker mappings from your cluster’s
core-site.xml
file. Verify that the following property is
present in the core-site.xml
file:<property>
<name>fs.s3a.ext.cab.address</name>
<value>https://<idbrokerurl>:8444/gateway</value>
</property>
This property is automatically appended to the core-site.xml
file
when you enable Knox IDBroker on your cluster.
You must manually grant the following application permission to non-admin users and
groups for them to be able to view and access S3 File Browser in Hue:
filebrowser.s3_access:Access to S3 from filebrowser and
filepicker.
.
You must also add the CDP users and groups to IAM role mappings.