Enabling browsing Ozone from Hue on CDP Private Cloud Base
Hue can read and write files on the Ozone filesystem. To access Ozone from Hue, you must add the necessary configurations in the Advanced Configuration Snippet in Cloudera Manager.
- 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 Gateway
Advanced Configuration Snippet (Safety Valve) for
ozone-conf/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.