Cloudera Lakehouse Optimizer for Iceberg table maintenance

Cloudera Lakehouse Optimizer automates Iceberg table maintenance for Cloudera Data Services on Anywhere Cloud. The service runs Spark maintenance jobs that simplify table management, improve query performance, and reduce operational costs.

Cloudera Lakehouse Optimizer improves the Cloudera Open Data Lakehouse performance by the providing the following benefits:
  • Simplifying the Iceberg table management by automating the optimization and maintenance activities, such as data file compaction and snapshot expiration.
  • Reducing the total cost of ownership (TCO) by lowering the storage and compute costs.
  • Maintaining the health of Iceberg tables to ensure high operational efficiency.
  • Improving the query execution time on the Iceberg tables.

You create Cloudera Lakehouse Optimizer policies to perform Iceberg table maintenance. You can manage and monitor these policies as necessary, depending on your assigned Cloudera Lakehouse Optimizer role (Administrator, Operator, or Monitor). For details, see Cloudera Lakehouse Optimizer roles and access.

On Anywhere Cloud, you create and manage policies using the following methods:
  • CLI: Use restish CLI commands to create, edit, and delete policies, associate policies with Iceberg tables, namespaces, or catalogs, and monitor maintenance tasks.

    Install the Restish CLI utility on your workstation.

  • REST APIs: You can perform policy management and Iceberg table optimization operations using REST APIs. You can schedule table maintenance to run at regular intervals, run policies on demand, or both.

    You can perform on-demand policy execution when required, or schedule recurring evaluation with a cron expression in policy resources, see Scheduling policies with a cron expression and https://docs.cloudera.com/cloudera-lakehouse-optimizer/2.0/clo-user-guide/topics/clo-cli-execute-policy.html. Ensure that you dry run the policy before manual evaluation. During dry run, Cloudera Lakehouse Optimizer running policies on demand using the CLI only generates the table maintenance actions but does not initiate any maintenance actions.

A Cloudera Lakehouse Optimizer policy consists of a JEXL script and JSON file, collectively referred to as policy resources. The JEXL script is mandatory, and the JSON file is optional. The default ClouderaAdaptive policy consists of the ClouderaAdaptive.jexl script and the ClouderaAdaptive.json file. Cloudera Lakehouse Optimizer uses the ClouderaAdaptive policy as a template to help you create policies.

You can view task maintenance status using REST APIs or view detailed status on the Cloudera Observability dashboard.