Enabling browsing Ozone from Hue on CDW Private Cloud
Hue can read and write files on the Ozone filesystem, similar to S3 or ADLS. To access Ozone from Hue, you must add the necessary configurations in the hue-safety-valve within the Virtual Warehouse configurations.
- You must have an Ozone parcel containing the HttpFS service. For installation, see Ozone 718.2.x installation documentation.
- Ensure that the Ozone HttpFS Gateway role is running in a healthy state.
- Go to HttpFS Advanced
Configuration Snippet (Safety Valve) for httpfs-site.xml
field:
Field name Value Name httpfs.proxyuser.[***PRINCIPAL-NAME***].hosts Value * Name httpfs.proxyuser.[***PRINCIPAL-NAME***].groups Value * Replace the
[***PRINCIPAL-NAME***]
with the actual Kerberos principal name. For example,hive
. You can obtain the Kerberos principal name from the Hive service configuration.
and add the following entries in the - Obtain the following values from the Ozone service. You need it to construct the
fs_defaultfs
andwebhdfs_url
URLs:- HttpFS Gateway host name
- Ozone HttpFS Gateway TTP Web UI Port
(ozone.httpfs.http-port)
9778 is the default.
- Ozone Service ID (ozone.service.id). The Ozone service ID must be specified when Ozone is configured in HA mode.