Granting Ranger and Cloudera Data Engineering access for Cloudera Lakehouse Optimizer
After you deploy Cloudera Lakehouse Optimizer, assign workspace roles, read
workload identities, add Ranger policies on awc_s3 and on
udf_harmony_catalog_CHC app name, confirm
startup, and assign Cloudera Data Engineering roles so maintenance jobs can run.
- Complete Configuring Cloudera Lakehouse Optimizer on Anywhere Cloud. The S3 bucket for Cloudera Lakehouse Optimizer is a Cloudera Unified Data Fabric storage bucket. Cloudera Lakehouse Optimizer uses a dedicated Cloudera Data Engineering Spark compute engine version 3.5.8.
- Ensure that Cloudera Harmony Catalog, Cloudera Unified Data Fabric, and Cloudera Data Engineering are running.
- You can open Ranger Admin only if your user has Ranger Admin access. A platform administrator can grant it by assigning the Cloudera Unified Data Fabric administrator application role on the Cloudera Unified Data Fabric engine in . Only a platform administrator can assign that role to other users.
Cloudera Lakehouse Optimizer does not create Ranger policies for
awc_s3 or the Cloudera Harmony Catalog Ranger
service. Open Ranger Admin from the Cloudera Unified Data Fabric engine
landing page, or use Ranger Admin REST APIs with RANGER_URL from
the Cloudera Unified Data Fabric landing page. For how to open Ranger Admin,
see
Accessing the Ranger Admin web UI.
Ranger registers a separate service for each Cloudera Harmony Catalog
instance. The service name is not a single static
udf_harmony_catalog value. It uses the prefix
udf_harmony_catalog_ followed by the Cloudera Harmony Catalog application name from your Cloudera Lakehouse Optimizer blueprint deployment.
- Determine the Cloudera Harmony Catalog application name used in the Cloudera Lakehouse Optimizer blueprint.
- In Ranger Admin, select the service named
udf_harmony_catalog_CHC app name.
| Policy name (Run Book) | Ranger service | Purpose |
|---|---|---|
| clo-s3-rw | awc_s3 |
read and write on the warehouse
bucket; recursive path *. |
| clo-catalog-namespace-scoped | udf_harmony_catalog_CHC app
name |
Catalog and namespace access for policy evaluation and REST event log. |
| clo-table-maintenance | udf_harmony_catalog_CHC app
name |
Table access for maintenance actions. |
Alternatively, add the same principals and access types to existing policies all - catalog, all - ns, and all - tables with PUT /service/public/v2/api/policy/{id} (not POST). Back up policies before you update them.
For Harmony Catalog Ranger permissions, see the Harmony Catalog documentation after
you identify udf_harmony_catalog_CHC app name for
your instance.
