Authorizing the Hive user for Trino access to Ozone

Trino uses the Hive user to interact with the Ozone file system. To ensure secure data access, you must authorize the Hive user in your Ranger policies. This configuration allows Trino to perform authenticated read and write operations on Ozone data volumes and buckets.

  1. In Cloudera Management Console, click Clusters > Ranger > Ranger Admin Web UI.
  2. Enter your username and password, and then click Sign In.
    The Ranger Service Manager page for Cloudera services is displayed.
  3. From the Service Manager page, click the cm_ozone service.
  4. Edit the volume and bucket policies to add the hive user.
    The Policy Details page is displayed.
  5. On the Policy Details page, go to the Allow Condition section.
  6. From the Select User drop-down menu, select hive.
  7. Click Save.
The hive user is added to the volume and bucket policies.