Cloudera Lakehouse Optimizer features
Cloudera Lakehouse Optimizer supports several features. On Anywhere Cloud, you create and manage policies using the CLI and REST APIs. Some capabilities are available only through REST APIs.
The following table lists the supported features and the supported methods to use these features:
| Features | Available methods to use the feature | Description |
|---|---|---|
| Role-based access (Administrator, Operator, Monitor) |
|
Controls who can create, edit, execute, or view policies and maintenance tasks. An Administrator has access to all features. An Operator can execute existing policies but cannot create, update, or delete policies. A Monitor has read-only access. For more information, see Cloudera Lakehouse Optimizer roles and access and Configuring roles for Cloudera Lakehouse Optimizer users. |
| Schedule-based policy |
|
Schedules policies to be evaluated at regular intervals using a Quartz-style
cron expression and optional timezone in policy
resources.You can create multiple versions of the policy definition at catalog, namespace, or table level using the CLI and REST APIs. For more information, see Scheduling policies with a cron expression, Creating and associating Cloudera Lakehouse Optimizer policies, and Define Resources Restapi. |
| Manual trigger and execution |
|
Runs the policies manually to optimize the Iceberg tables when required. For more information, see Running policies on demand using the CLI and Running policies on demand using Cloudera Lakehouse Optimizer REST APIs. |
| Dry-run policies |
|
Generates the table maintenance actions but does not initiate any maintenance actions.
Dry run the policies to ensure they run effectively without failure. For more information, see Running policies on demand using the CLI and Running policies on demand using Cloudera Lakehouse Optimizer REST APIs. |
Small file compaction options include:
|
REST API | Automates the Iceberg data file compaction maintenance actions. In Apache Iceberg documentation, this procedure is called rewrite_data_files, and it supports Table, Strategy (binpack or sort), sort_order (zorder, sortDirection, NullOrder), options, and where arguments which are also supported by Cloudera Lakehouse Optimizer. |
Orphan file removal includes:
|
REST API | Automates the Iceberg orphan file removal maintenance action. |
Snapshot expiration options include:
|
REST API | Automates the Iceberg snapshot management maintenance actions. |
Rewrite manifest options include:
|
REST API | Automates the Iceberg manifest rewrite maintenance actions. |
Positional delete rewrite options include:
|
REST API | Automates the Iceberg positional delete rewrite maintenance actions. |
| Service auditing | Optional audit export at Anywhere Cloud Console deploy | Provides an audit trail of user and system activities on Cloudera Lakehouse Optimizer,
including policy creation, editing, deletion, association, namespace operations,
authentication events, and table maintenance actions. On Anywhere Cloud,
events are sent to the platform audit gateway with other data services. For more information, see Service auditing for Cloudera Lakehouse Optimizer, Data Service Cluster and Engine Telemetry, and Configuring Audit Exporter Settings. |
| Cloudera Lakehouse Optimizer event logging | REST API | Ingests the maintenance task metadata, also called an event, into the
sys.clo_events Iceberg table. You can use the table to analyze
the event logs, use it for troubleshooting purposes and for root cause analysis, and
to generate reports. For more information, see Viewing logs for Cloudera Lakehouse Optimizer. |
| Monitoring policy jobs |
|
Monitor the policy jobs using one of the following methods:
For more information, see Viewing table maintenance status . |
| Manual trigger and execution |
|
Manually run the policies to optimize the Iceberg tables when required. For more information, see Running policies on demand using the CLI and Running policies on demand using Cloudera Lakehouse Optimizer REST APIs. |
| Policy dry-run |
|
Dry run existing policies to ensure they run effectively without failure. For more information, see Running policies on demand using the CLI and Running policies on demand using Cloudera Lakehouse Optimizer REST APIs. |
The following additional capabilities are also available on Anywhere Cloud:
- Viewing metrics such as data read and data written for each maintenance task using Cloudera Observability.
- Viewing infrastructure, job, user, and service activity for the workload environment that hosts Cloudera Lakehouse Optimizer in Anywhere Cloud Console.
