Enabling browsing Ozone from Hue on Cloudera Data Warehouse
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.
- 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. The hive principal is the default principal required for communication between Ozone and Hue. If this principal name is changed during installation (e.g., to a custom principal for the Hive service), use that modified principal name here instead.
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 (Gateway node)
- Ozone HttpFS Gateway TTP Web UI Port
(ozone.httpfs.http-port)
The default port is 9778. Ensure that the port used by the Ozone HttpFS Gateway (or any other configured port for that HttpFS instance) is accessible from the Hue node to the Gateway node where the Ozone HttpFS Gateway is installed.
- Ozone Service ID (ozone.service.id).
