Cloudera Lakehouse Optimizer error reference

The Cloudera Lakehouse Optimizer error reference lists the error codes and messages that the product returns, with a description and a recommended action for each.

This guide lists the error codes and messages of Cloudera Lakehouse Optimizer, with a description and a recommended action for each message.

Layout of the Cloudera Lakehouse Optimizer error table

The Error code column shows the HTTP status code that comes with the message. Where a message does not come with an HTTP error status, the column shows None, followed in parentheses by where the message appears, for example, None (stored as task message). Such messages appear at startup, in the hint text of the startup status response, in the message or failure text that is stored for a task, or when a Helm installation or upgrade fails.

The Error message column shows the message text. Text in braces, such as {namespace}, stands for a value that varies. Where the column shows only placeholders, such as {exception message}, the text of the message comes from another source, such as the exception that the product catches. Where the column describes a message instead of quoting it, for example, (no message body), the response contains no text. Where one row covers more than one wording of a message, each wording appears on its own line.

Cloudera Lakehouse Optimizer error messages

The following table lists the Cloudera Lakehouse Optimizer error codes and messages:

Error code Error message Description Recommended action
500

DLM Iceberg catalog is not initialized

This error occurs when DELETE /config/cache finds no initialized catalog. Cloudera Lakehouse Optimizer returns 500 for this condition, while the same condition on PUT /namespaces/{namespace} returns 503. Check GET /api/v1/startup for the failing gate. While the status is NOT_READY, Cloudera Lakehouse Optimizer retries the catalog connection (Anywhere Cloud).
400

No backup found in request

This error occurs when the restore request has no uploaded file part. Cloudera Lakehouse Optimizer scans the multipart items for the first non-form field. Send the request as multipart/form-data with the backup archive as a file part. The backup archive is the tar.gz file that GET /config/backup returns.
404

(no message body)

This error occurs when GET /config/backup finds no policy resources to back up. The response is an empty 404. Create at least one policy or association first. The Cloudera Lakehouse Optimizer log contains No resources to backup.
500

(no message body)

This error occurs when the backup I/O fails because of an IOException or an interrupt. The response is an empty 500. Check the Cloudera Lakehouse Optimizer log for Backup failed, and check the storage permissions for the policy directory.
403

Not authorized to refresh catalog listing cache for namespace {namespace}

This error occurs when the caller does not have operator access on the requested scope. Cloudera Lakehouse Optimizer raises this error only when dlm.authorization.enabled=true. Ask an administrator for operator access on the namespace. For a catalog-wide request, ask for operator access on every namespace.
403

Not authorized to refresh catalog listing cache; operator access is required on every namespace.

This error occurs when the caller does not have operator access on the requested scope. Cloudera Lakehouse Optimizer raises this error only when dlm.authorization.enabled=true. Ask an administrator for operator access on the namespace. For a catalog-wide request, ask for operator access on every namespace.
500

Not healthy

This error occurs when at least one health check of GET /config/health is unhealthy. The message is only Not healthy. The results of each check are in the result object of the response. Read the result object. Each check has a healthy flag and details.
503

Passive - Standby Mode

This error occurs when you call GET /config/health on a non-leader node and dlm.ha.enabled=true. The HA filter intentionally lets the health path through, and the health endpoint rejects the request. Probe the leader node, or retry the request through the load balancer.
404

Unknown catalog: hive

Unknown catalog: {catalog_name}

This error occurs when the catalog query parameter of DELETE /config/cache does not match the catalog name of Cloudera Lakehouse Optimizer. The parameter defaults to hive, but the Helm chart sets dlm.catalog.name to restCatalog.warehouse, which defaults to harmony-catalog. Therefore, a call without ?catalog= fails. Pass ?catalog=<name> with the catalog name of Cloudera Lakehouse Optimizer.
404

Unknown namespace: {namespace}

This error occurs when the named catalog, namespace, table, policy, version, or task does not exist or is not registered in Cloudera Lakehouse Optimizer. Verify that the identifier named in the message exists and is registered with Cloudera Lakehouse Optimizer and retry the request.
400

Invalid JSON request body

This error occurs when Cloudera Lakehouse Optimizer cannot parse the request body as JSON. Cloudera Lakehouse Optimizer writes the parser message, including the field and position, to the Cloudera Lakehouse Optimizer log, but the response only states Invalid JSON request body. Validate the body as JSON and against the request schema in openapi.json and resend the request.
400

Request body is required

This error occurs when the @RequestBody of the endpoint is required and the body is empty. The message names neither the content type nor the expected fields. Send a JSON body with Content-Type: application/json. The schema for the endpoint is in openapi.json.
503

CLO is NOT_READY — the catalog is not yet connected. Ensure the Ranger policy for CLO's SPIFFE id allows listNamespaces, then retry. Check GET /api/v1/startup to see which startup gate is failing.

This error occurs when Cloudera Lakehouse Optimizer lets PUT /namespaces/{namespace} through while NOT_READY, so that an administrator can declare a namespace, but the catalog or policy catalog is not initialized yet. ResponseDto.encodeMessage HTML-encodes the message in the response body, so characters such as ' < > & " and non-ASCII characters are returned as entities. For example, an apostrophe is returned as &#39;. Grant the SPIFFE ID of Cloudera Lakehouse Optimizer the listNamespaces permission in the Ranger policies of the catalog and retry the request. To find the ID, use GET /api/v1/cloIdentity.
500

Failed to pause namespace

This error occurs when the scheduler raises a SchedulerError while pausing or resuming the policies of the namespace. The catch block records an audit failure but does not log the exception. Check the audit log entry, because the cause is not in the Cloudera Lakehouse Optimizer log for this path. The only raising site catches the exception without logging it, so the Cloudera Lakehouse Optimizer log might not contain the cause.
500

Failed to resume namespace

This error occurs when the scheduler raises a SchedulerError while pausing or resuming the policies of the namespace. The catch block records an audit failure but does not log the exception. Check the audit log entry, because the cause is not in the Cloudera Lakehouse Optimizer log for this path. The only raising site catches the exception without logging it, so the Cloudera Lakehouse Optimizer log might not contain the cause.
404

Namespace {namespace}

This error occurs when you call a namespace endpoint for a namespace that is not registered in Cloudera Lakehouse Optimizer. The message is only Namespace {name} and does not state that the namespace was not found. The 404 status carries that information. Six endpoints return this error: get, update, delete, list policies, pause, and resume. Verify the namespace name and that the namespace is declared in Cloudera Lakehouse Optimizer. GET /namespaces lists the declared namespaces. PUT /namespaces/{namespace} declares a namespace and requires the admin role.
500

Unable to reschedule {namespace}

This error occurs when reloading the policy resources of the namespace fails with a policy parse error or an I/O error. Cloudera Lakehouse Optimizer logs the exception. Search the Cloudera Lakehouse Optimizer log for Unable to reschedule, and fix the policy script or constants that the log entry names.
400

Table id '{id}' does not specify a namespace and no default namespace is configured (dlm.namespace.name)

This error occurs when the table ID has no namespace segment and dlm.namespace.name is not configured to supply one. ResponseDto.encodeMessage HTML-encodes the message in the response body, so characters such as ' < > & " and non-ASCII characters are returned as entities. For example, an apostrophe is returned as &#39;. Qualify the table ID with a namespace, or set dlm.namespace.name.
400

Both script and constant cannot be empty

This error occurs when the upload contains neither a script nor constants. The condition is script == null && constants == null, so one of the two is enough. The wording both ... cannot be empty suggests that both are required. Provide at least one of script or constants.
404

Cannot dryrun policy '{policy_name}' on table '{table}': resource not found ({exception message}).

This error occurs when the dryrun or evaluation target does not resolve. The text in parentheses names the missing policy, namespace, or table, for example, (Policy nosuchpolicy not found). ResponseDto.encodeMessage HTML-encodes the message in the response body, so characters such as ' < > & " and non-ASCII characters are returned as entities. For example, an apostrophe is returned as &#39;. Correct the policy name or table named in the parentheses and retry the request.
404

Cannot evaluate policy '{policy_name}' on table '{table}': resource not found ({exception message}).

This error occurs when the dryrun or evaluation target does not resolve. The text in parentheses names the missing policy, namespace, or table, for example, (Policy nosuchpolicy not found). ResponseDto.encodeMessage HTML-encodes the message in the response body, so characters such as ' < > & " and non-ASCII characters are returned as entities. For example, an apostrophe is returned as &#39;. Correct the policy name or table named in the parentheses and retry the request.
404

Cannot evaluate policy '{policy_name}' on table '{table}': invalid resource ({exception message}).

This error occurs when the dryrun or evaluation target does not resolve. The text in parentheses names the missing policy, namespace, or table, for example, (Policy nosuchpolicy not found). ResponseDto.encodeMessage HTML-encodes the message in the response body, so characters such as ' < > & " and non-ASCII characters are returned as entities. For example, an apostrophe is returned as &#39;. Correct the policy name or table named in the parentheses and retry the request.
404

Catalog {catalog_name} is not supported by CLO

This error occurs when the catalog name in the path does not match the configured catalog name of Cloudera Lakehouse Optimizer. The deployed instance uses harmony-catalog. Use the catalog name of Cloudera Lakehouse Optimizer, which is the value of dlm.catalog.name.
500

Describe policy failed {exception message}

This error occurs when the endpoint catches an exception. The response contains a context prefix followed by the message of the exception, so the cause varies. The prefix names the operation, and the text after the prefix comes from the exception. Read the text after the prefix to identify the cause. To find the stack trace for this request, search the Cloudera Lakehouse Optimizer log for the prefix.
500

Dryrun of policy '{policy_name}' on table '{table}' failed: {exception message}

This error occurs when the endpoint catches an exception. The response contains a context prefix followed by the message of the exception, so the cause varies. The prefix names the operation, and the text after the prefix comes from the exception. ResponseDto.encodeMessage HTML-encodes the message in the response body, so characters such as ' < > & " and non-ASCII characters are returned as entities. For example, an apostrophe is returned as &#39;. Read the text after the prefix to identify the cause. To find the stack trace for this request, search the Cloudera Lakehouse Optimizer log for the prefix.
409

Duplicate evaluation request for policy '{policy_name}' on table '{table}': an in-flight task is already dispatched. Retry with force=true to cancel it before scheduling a new one.

This error occurs when an evaluation for this policy and table is already in flight. ResponseDto.encodeMessage HTML-encodes the message in the response body, so characters such as ' < > & " and non-ASCII characters are returned as entities. For example, an apostrophe is returned as &#39;. Retry the request with force=true to cancel the in-flight task, or wait for the task to finish.
500

Evaluation of policy '{policy_name}' on table '{table}' failed: {exception message}

This error occurs when the endpoint catches an exception. The response contains a context prefix followed by the message of the exception, so the cause varies. The prefix names the operation, and the text after the prefix comes from the exception. ResponseDto.encodeMessage HTML-encodes the message in the response body, so characters such as ' < > & " and non-ASCII characters are returned as entities. For example, an apostrophe is returned as &#39;. Read the text after the prefix to identify the cause. To find the stack trace for this request, search the Cloudera Lakehouse Optimizer log for the prefix.
400

Event-based schedule is not supported with catalog type '{catalog_type}'. Use a cron schedule instead.

This error occurs when the policy uses an event-based schedule but the active catalog type has no event triggers, so the policy never runs. ResponseDto.encodeMessage HTML-encodes the message in the response body, so characters such as ' < > & " and non-ASCII characters are returned as entities. For example, an apostrophe is returned as &#39;. Change the policy schedule to a cron schedule.
403

{exception message}

This error occurs when you create, update, or delete a policy resource that is a built-in default resource. The exception text is Deleting default resource or Forbidden to create|update default resource : {uri}. Do not modify default policy resources, because they are read-only through the API. Instead, create an override at the catalog, namespace, or table level.
500

Failed to dispatch tasks for policy '{policy_name}' on table '{table}': {exception message}

This error occurs when the endpoint catches an exception. The response contains a context prefix followed by the message of the exception, so the cause varies. The prefix names the operation, and the text after the prefix comes from the exception. ResponseDto.encodeMessage HTML-encodes the message in the response body, so characters such as ' < > & " and non-ASCII characters are returned as entities. For example, an apostrophe is returned as &#39;. Read the text after the prefix to identify the cause. To find the stack trace for this request, search the Cloudera Lakehouse Optimizer log for the prefix.
400

Incomplete request : {}{exception message}

This error occurs when a NullPointerException occurs while Cloudera Lakehouse Optimizer processes the request. Cloudera Lakehouse Optimizer reports the exception as 400. The literal text {} is displayed in the message, because a log-style placeholder is part of a string concatenation. Verify that the request includes every required field.
400

Invalid policy name {policy_name}

This error occurs when the policy name fails validation by Policy.validateName. The name must match a Java identifier, which is a Java identifier-start character followed by identifier-part characters. The message does not state the rule. Use a name that contains only letters, digits, underscores, or $, does not start with a digit, and contains no dashes, dots, or spaces.
500

Invalid table path in penalty card: {table}

This error occurs when a stored penalty-card entry has a table path that Cloudera Lakehouse Optimizer cannot parse, and Cloudera Lakehouse Optimizer catches a NullPointerException. The entry is server-side data, not user input, so the 500 status is appropriate. Search the Cloudera Lakehouse Optimizer log for Invalid table path in penalty card.
404

Namespace {namespace} is not declared

This error occurs when the namespace is not registered in Cloudera Lakehouse Optimizer. Declare the namespace with PUT /namespaces/{namespace}, which requires the admin role and retry the request.
404

Namespace {namespace} not found

This error occurs when the named catalog, namespace, table, policy, version, or task does not exist or is not registered in Cloudera Lakehouse Optimizer. Verify that the identifier named in the message exists and is registered with Cloudera Lakehouse Optimizer and retry the request.
200 (error carried in body; HTTP status is 200)

{new StringBuilder()}

This error occurs when a catalog-wide policy subscribe or unsubscribe request completes. Cloudera Lakehouse Optimizer builds one message from the outcome for each namespace ({namespace} : {result}, ...) and returns the message as an ERROR action with HTTP 200. Read the message body, which lists each namespace with its outcome. Do not rely on the HTTP status.
400

no data

This error occurs when a policy definition PUT or POST request has no body. The OpenAPI spec does not mark the body parameter as required, so an empty body reaches the controller as null, and the controller rejects it. The response contains only {status, action, message} and names no field. Send a JSON body with script, constants, or both, which are the fields of the upload object. For more information, see the separate row Both script and constant cannot be empty.
404

No definition found

This error occurs when a GET request for a policy definition finds neither a script nor constants at the requested scope. Cloudera Lakehouse Optimizer places the policy and scope in the result object of the response, not in the message. Verify the policy name and resourceScope. Read the result object of the response for the values that Cloudera Lakehouse Optimizer used.
404

No policy {policy_name}found

This error occurs when the policy is not registered. The message is missing a space before found. List the policies, and verify the policy name.
400

no resource

This error occurs when a multipart policy resource upload has no part named resource. Send the request as multipart/form-data with the file in a form part named resource.
403

Not authorized to associate policy at catalog scope; operator access is required on every namespace in the catalog.

This error occurs when the caller does not have operator access on the requested scope. Cloudera Lakehouse Optimizer raises this error only when dlm.authorization.enabled=true. Ask an administrator for operator access on the namespace. For a catalog-wide request, ask for operator access on every namespace.
500

Policy association failed : {exception message}

This error occurs when the endpoint catches an exception. The response contains a context prefix followed by the message of the exception, so the cause varies. The prefix names the operation, and the text after the prefix comes from the exception. Read the text after the prefix to identify the cause. To find the stack trace for this request, search the Cloudera Lakehouse Optimizer log for the prefix.
500

Policy definition deletion failed, Exception {exception message}

This error occurs when the endpoint catches an exception. The response contains a context prefix followed by the message of the exception, so the cause varies. The prefix names the operation, and the text after the prefix comes from the exception. Read the text after the prefix to identify the cause. To find the stack trace for this request, search the Cloudera Lakehouse Optimizer log for the prefix. The only raising site catches the exception without logging it, so the Cloudera Lakehouse Optimizer log might not contain the cause.
404

Policy '{policy_name}' is not associated with the table

This error occurs when the named catalog, namespace, table, policy, version, or task does not exist or is not registered in Cloudera Lakehouse Optimizer. ResponseDto.encodeMessage HTML-encodes the message in the response body, so characters such as ' < > & " and non-ASCII characters are returned as entities. For example, an apostrophe is returned as &#39;. Verify that the identifier named in the message exists and is registered with Cloudera Lakehouse Optimizer and retry the request.
404

Policy {policy_name} not found

This error occurs when the named catalog, namespace, table, policy, version, or task does not exist or is not registered in Cloudera Lakehouse Optimizer. Verify that the identifier named in the message exists and is registered with Cloudera Lakehouse Optimizer and retry the request.
400

policyVersion must be present as query parameter in the request

This error occurs when Cloudera Lakehouse Optimizer understands the request but the request is invalid. Correct the request according to the rule stated in the message and resend it.
404

Table {table} is not present in namespace {namespace}

This error occurs when the named catalog, namespace, table, policy, version, or task does not exist or is not registered in Cloudera Lakehouse Optimizer. Verify that the identifier named in the message exists and is registered with Cloudera Lakehouse Optimizer and retry the request.
403

{uri}{exception message}

This error occurs when you change a built-in default policy resource. Cloudera Lakehouse Optimizer concatenates the uri and the exception text without a separator. Do not modify default policy resources, because they are read-only through the API. Instead, create an override at the catalog, namespace, or table level.
400

No namespace specified and no default namespace is configured (dlm.namespace.name)

This error occurs when Cloudera Lakehouse Optimizer understands the request but the request is invalid. Compare the request with the endpoint schema in openapi.json.
500

Failed to fetch statistics

This error occurs when the statistics for the table are empty although the request specifies force=true. The message does not state the cause. Verify that the table exists and that Cloudera Lakehouse Optimizer can read the table and retry the request.
404

Namespace {namespace} not found in registry

This error occurs when the named catalog, namespace, table, policy, version, or task does not exist or is not registered in Cloudera Lakehouse Optimizer. Verify that the identifier named in the message exists and is registered with Cloudera Lakehouse Optimizer and retry the request.
404

Table '{table_id}' is not registered in DLM registry

This error occurs when the named catalog, namespace, table, policy, version, or task does not exist or is not registered in Cloudera Lakehouse Optimizer. ResponseDto.encodeMessage HTML-encodes the message in the response body, so characters such as ' < > & " and non-ASCII characters are returned as entities. For example, an apostrophe is returned as &#39;. Verify that the identifier named in the message exists and is registered with Cloudera Lakehouse Optimizer and retry the request.
404

Table '{table_id}' not found

This error occurs when the named catalog, namespace, table, policy, version, or task does not exist or is not registered in Cloudera Lakehouse Optimizer. ResponseDto.encodeMessage HTML-encodes the message in the response body, so characters such as ' < > & " and non-ASCII characters are returned as entities. For example, an apostrophe is returned as &#39;. Verify that the identifier named in the message exists and is registered with Cloudera Lakehouse Optimizer and retry the request.
400

Table '{table_id}' still exists in the catalog; drop it first before evicting from registry

This error occurs when you evict a table from the Cloudera Lakehouse Optimizer registry while the table still exists in the catalog. Cloudera Lakehouse Optimizer refuses the eviction. ResponseDto.encodeMessage HTML-encodes the message in the response body, so characters such as ' < > & " and non-ASCII characters are returned as entities. For example, an apostrophe is returned as &#39;. Drop the table in the catalog first and evict the table from the registry.
400

Cannot provide both afterTaskId and beforeTaskId parameters

This error occurs when Cloudera Lakehouse Optimizer understands the request but the request is invalid. Correct the request according to the rule stated in the message and resend it.
400

Invalid task id: {id}

This error occurs when UUID.fromString cannot parse the task id. The message does not state that a UUID is expected. Use the task id, which is a UUID, that the task list or task APIs return.
400

Malformed task id: {id}

This error occurs when UUID.fromString cannot parse the task id. The message does not state that a UUID is expected. Use the task id, which is a UUID, that the task list or task APIs return.
404

No task found with id: {id}

This error occurs when no task has this id. The same condition is worded No task found with id: {id} on GET and Task not found: {id} on DELETE. Use an ID that the task list returns. Completed tasks might have been deleted.
400

Page size must be between 1 and 100

This error occurs when Cloudera Lakehouse Optimizer understands the request but the request is invalid. Correct the request according to the rule stated in the message and resend it.
409

Task {id} is still executing; retry after it terminates

This error occurs when you delete a task that is still running, either in this process or live on the cluster. Cloudera Lakehouse Optimizer refuses the DELETE request. Wait until the task finishes and delete the task.
404

Task not found: {id}

This error occurs when no task has this id. The same condition is worded No task found with id: {id} on GET and Task not found: {id} on DELETE. Use an ID that the task list returns. Completed tasks might have been deleted.
400

Association entries must not be null

This error occurs when an entry of the association list fails validation. The message names the missing field, but not the entry in the list that failed. Ensure that every entry has a namespace and a tables list, and that no entry is null.
404

Catalog {catalog} has no namespace-level associations

This error occurs when the result is empty. Cloudera Lakehouse Optimizer reports the empty result as a 404 error. The messages has no association and has no associations differ by one letter but indicate different conditions. has no association means that the policy is not found, and has no associations means that the namespace has no associations. Treat this error as an empty result, not a missing endpoint. To populate the result, associate a policy or run a task.
404

Catalog {catalog} is not the DLM catalog

This error occurs when the named catalog, namespace, table, policy, version, or task does not exist or is not registered in Cloudera Lakehouse Optimizer. Verify that the identifier named in the message exists and is registered with Cloudera Lakehouse Optimizer and retry the request.
400

Each association must include a namespace

This error occurs when an entry in the association list fails a validation check. The message names the missing field but not the entry in the list that failed. Ensure that every entry has a namespace and a tables list, and that none of them is null.
400

Each association must include a tables list

This error occurs when an entry in the association list fails a validation check. The message names the missing field but not the entry in the list that failed. Ensure that every entry has a namespace and a tables list, and that none of them is null.
500

Exception during policy update: {exception message}

This error occurs when the endpoint catches an exception. Cloudera Lakehouse Optimizer returns a context prefix followed by the message of the exception, so the cause varies. The prefix names the operation, and the text after the prefix comes from the exception. Read the text after the prefix to identify the cause. To view the stack trace for this request, search the Cloudera Lakehouse Optimizer log for the prefix.
500

Failed to create associations due to exception : {exception message}

This error occurs when the endpoint catches an exception. Cloudera Lakehouse Optimizer returns a context prefix followed by the message of the exception, so the cause varies. The prefix names the operation, and the text after the prefix comes from the exception. Read the text after the prefix to identify the cause. To view the stack trace for this request, search the Cloudera Lakehouse Optimizer log for the prefix.
500

Failed to create table associations due to exception: {exception message}

This error occurs when the endpoint catches an exception. Cloudera Lakehouse Optimizer returns a context prefix followed by the message of the exception, so the cause varies. The prefix names the operation, and the text after the prefix comes from the exception. Read the text after the prefix to identify the cause. To view the stack trace for this request, search the Cloudera Lakehouse Optimizer log for the prefix.
500

Failed to download policy due to exception : {exception message}

This error occurs when the endpoint catches an exception. Cloudera Lakehouse Optimizer returns a context prefix followed by the message of the exception, so the cause varies. The prefix names the operation, and the text after the prefix comes from the exception. Read the text after the prefix to identify the cause. To view the stack trace for this request, search the Cloudera Lakehouse Optimizer log for the prefix.
500

Failed to fetch all policy names due to exception : {exception message}

This error occurs when the endpoint catches an exception. Cloudera Lakehouse Optimizer returns a context prefix followed by the message of the exception, so the cause varies. The prefix names the operation, and the text after the prefix comes from the exception. Read the text after the prefix to identify the cause. To view the stack trace for this request, search the Cloudera Lakehouse Optimizer log for the prefix.
500

Failed to fetch associated namespaces due to exception : {exception message}

This error occurs when the endpoint catches an exception. Cloudera Lakehouse Optimizer returns a context prefix followed by the message of the exception, so the cause varies. The prefix names the operation, and the text after the prefix comes from the exception. Read the text after the prefix to identify the cause. To view the stack trace for this request, search the Cloudera Lakehouse Optimizer log for the prefix.
500

Failed to fetch associated tables due to exception : {exception message}

This error occurs when the endpoint catches an exception. Cloudera Lakehouse Optimizer returns a context prefix followed by the message of the exception, so the cause varies. The prefix names the operation, and the text after the prefix comes from the exception. Read the text after the prefix to identify the cause. To view the stack trace for this request, search the Cloudera Lakehouse Optimizer log for the prefix.
500

Failed to fetch associations due to exception : {exception message}

This error occurs when the endpoint catches an exception. Cloudera Lakehouse Optimizer returns a context prefix followed by the message of the exception, so the cause varies. The prefix names the operation, and the text after the prefix comes from the exception. Read the text after the prefix to identify the cause. To view the stack trace for this request, search the Cloudera Lakehouse Optimizer log for the prefix.
500

Failed to fetch direct-association tables due to exception : {exception message}

This error occurs when the endpoint catches an exception. Cloudera Lakehouse Optimizer returns a context prefix followed by the message of the exception, so the cause varies. The prefix names the operation, and the text after the prefix comes from the exception. Read the text after the prefix to identify the cause. To view the stack trace for this request, search the Cloudera Lakehouse Optimizer log for the prefix.
500

Failed to fetch namespaces due to exception : {exception message}

This error occurs when the endpoint catches an exception. Cloudera Lakehouse Optimizer returns a context prefix followed by the message of the exception, so the cause varies. The prefix names the operation, and the text after the prefix comes from the exception. Read the text after the prefix to identify the cause. To view the stack trace for this request, search the Cloudera Lakehouse Optimizer log for the prefix.
500

Failed to fetch policies due to exception : {exception message}

This error occurs when the endpoint catches an exception. Cloudera Lakehouse Optimizer returns a context prefix followed by the message of the exception, so the cause varies. The prefix names the operation, and the text after the prefix comes from the exception. Read the text after the prefix to identify the cause. To view the stack trace for this request, search the Cloudera Lakehouse Optimizer log for the prefix.
500

Failed to fetch policy details due to exception : {exception message}

This error occurs when the endpoint catches an exception. Cloudera Lakehouse Optimizer returns a context prefix followed by the message of the exception, so the cause varies. The prefix names the operation, and the text after the prefix comes from the exception. Read the text after the prefix to identify the cause. To view the stack trace for this request, search the Cloudera Lakehouse Optimizer log for the prefix.
500

Failed to fetch scripts due to exception : {exception message}

This error occurs when the endpoint catches an exception. Cloudera Lakehouse Optimizer returns a context prefix followed by the message of the exception, so the cause varies. The prefix names the operation, and the text after the prefix comes from the exception. Read the text after the prefix to identify the cause. To view the stack trace for this request, search the Cloudera Lakehouse Optimizer log for the prefix.
500

Failed to fetch star-association namespaces due to exception : {exception message}

This error occurs when the endpoint catches an exception. Cloudera Lakehouse Optimizer returns a context prefix followed by the message of the exception, so the cause varies. The prefix names the operation, and the text after the prefix comes from the exception. Read the text after the prefix to identify the cause. To view the stack trace for this request, search the Cloudera Lakehouse Optimizer log for the prefix.
500

Failed to fetch table associations due to exception : {exception message}

This error occurs when the endpoint catches an exception. Cloudera Lakehouse Optimizer returns a context prefix followed by the message of the exception, so the cause varies. The prefix names the operation, and the text after the prefix comes from the exception. Read the text after the prefix to identify the cause. To view the stack trace for this request, search the Cloudera Lakehouse Optimizer log for the prefix.
500

Failed to fetch tables due to exception : {exception message}

This error occurs when the endpoint catches an exception. Cloudera Lakehouse Optimizer returns a context prefix followed by the message of the exception, so the cause varies. The prefix names the operation, and the text after the prefix comes from the exception. Read the text after the prefix to identify the cause. To view the stack trace for this request, search the Cloudera Lakehouse Optimizer log for the prefix.
500

Failed to fetch tables due to exception: {exception message}

This error occurs when the endpoint catches an exception. Cloudera Lakehouse Optimizer returns a context prefix followed by the message of the exception, so the cause varies. The prefix names the operation, and the text after the prefix comes from the exception. Read the text after the prefix to identify the cause. To view the stack trace for this request, search the Cloudera Lakehouse Optimizer log for the prefix.
500

Failed to get table status details: {exception message}

This error occurs when the endpoint catches an exception. Cloudera Lakehouse Optimizer returns a context prefix followed by the message of the exception, so the cause varies. The prefix names the operation, and the text after the prefix comes from the exception. Read the text after the prefix to identify the cause. To view the stack trace for this request, search the Cloudera Lakehouse Optimizer log for the prefix.
500

Failed to get timezones: {exception message}

This error occurs when the endpoint catches an exception. Cloudera Lakehouse Optimizer returns a context prefix followed by the message of the exception, so the cause varies. The prefix names the operation, and the text after the prefix comes from the exception. Read the text after the prefix to identify the cause. To view the stack trace for this request, search the Cloudera Lakehouse Optimizer log for the prefix.
500

Failed to list direct-association namespaces due to exception : {exception message}

This error occurs when the endpoint catches an exception. Cloudera Lakehouse Optimizer returns a context prefix followed by the message of the exception, so the cause varies. The prefix names the operation, and the text after the prefix comes from the exception. Read the text after the prefix to identify the cause. To view the stack trace for this request, search the Cloudera Lakehouse Optimizer log for the prefix.
500

Failed to list star-association catalogs due to exception : {exception message}

This error occurs when the endpoint catches an exception. Cloudera Lakehouse Optimizer returns a context prefix followed by the message of the exception, so the cause varies. The prefix names the operation, and the text after the prefix comes from the exception. Read the text after the prefix to identify the cause. To view the stack trace for this request, search the Cloudera Lakehouse Optimizer log for the prefix.
500

Failed to update policy associations: {entity}

This error occurs when the policy association update fails. Cloudera Lakehouse Optimizer appends the inner response entity by using string concatenation. Because ResponseDto defines no toString() method, the text is likely com.cloudera.dlm.api.ResponseDto@<hash>, which hides the real error. Check the Cloudera Lakehouse Optimizer log for the actual failure.
500

Invalid operation type: {operation}

This error occurs when the request body of the table policy-association update is missing the operation or policies, or contains an unknown operation. Cloudera Lakehouse Optimizer returns this client error as HTTP 500. Send operation and policies in the request body. Use a supported operation value.
500

Invalid request: operation and policies are required.

This error occurs when the request body of the table policy-association update is missing the operation or policies, or contains an unknown operation. Cloudera Lakehouse Optimizer returns this client error as HTTP 500. Send operation and policies in the request body. Use a supported operation value.
400

Invalid status parameter. Must be one of: PAUSED, SUCCESS, ERROR

This error occurs when Cloudera Lakehouse Optimizer understands the request but the request is invalid. Follow the rule stated in the message and resend the request.
404

Namespace {namespace} has no direct table associations

This error occurs when the result is empty. Cloudera Lakehouse Optimizer reports the empty result as a 404 error. The messages has no association and has no associations differ by one letter but indicate different conditions. has no association means that the policy is not found, and has no associations means that the namespace has no associations. Treat this error as an empty result, not a missing endpoint. To populate the result, associate a policy or run a task.
404

Namespace {namespace} not declared

This error occurs when the named catalog, namespace, table, policy, version, or task does not exist or is not registered in Cloudera Lakehouse Optimizer. Verify that the identifier named in the message exists and is registered with Cloudera Lakehouse Optimizer and retry the request.
400

namespace query parameter is required

This error occurs when Cloudera Lakehouse Optimizer understands the request but the request is invalid. Follow the rule stated in the message and resend the request.
400

namespaces field is required

This error occurs when Cloudera Lakehouse Optimizer understands the request but the request is invalid. Follow the rule stated in the message and resend the request.
404

No recent tasks found for policy: {policy_name} on table: {table_path}

This error occurs when the result is empty. Cloudera Lakehouse Optimizer reports the empty result as a 404 error. The messages has no association and has no associations differ by one letter but indicate different conditions. has no association means that the policy is not found, and has no associations means that the namespace has no associations. Treat this error as an empty result, not a missing endpoint. To populate the result, associate a policy or run a task.
404

No recent tasks found matching the criteria

This error occurs when the result is empty. Cloudera Lakehouse Optimizer reports the empty result as a 404 error. The messages has no association and has no associations differ by one letter but indicate different conditions. has no association means that the policy is not found, and has no associations means that the namespace has no associations. Treat this error as an empty result, not a missing endpoint. To populate the result, associate a policy or run a task.
400

page must be >= 1 and pageSize between 1 and 100

This error occurs when Cloudera Lakehouse Optimizer understands the request but the request is invalid. ResponseDto.encodeMessage HTML-encodes the message in the response body. As a result, characters such as ' < > & " and non-ASCII characters are returned as entities. For example, an apostrophe is returned as &#39;. Follow the rule stated in the message and resend the request.
404

Policy {policy_name} has no associations in namespace {namespace}

This error occurs when the result is empty. Cloudera Lakehouse Optimizer reports the empty result as a 404 error. The messages has no association and has no associations differ by one letter but indicate different conditions. has no association means that the policy is not found, and has no associations means that the namespace has no associations. Treat this error as an empty result, not a missing endpoint. To populate the result, associate a policy or run a task.
404

Policy {policy_name} has no association in namespace {namespace}

This error occurs when the result is empty. Cloudera Lakehouse Optimizer reports the empty result as a 404 error. The messages has no association and has no associations differ by one letter but indicate different conditions. has no association means that the policy is not found, and has no associations means that the namespace has no associations. Treat this error as an empty result, not a missing endpoint. To populate the result, associate a policy or run a task.
404

Policy with name {policy_name} not found

This error occurs when the named catalog, namespace, table, policy, version, or task does not exist or is not registered in Cloudera Lakehouse Optimizer. Verify that the identifier named in the message exists and is registered with Cloudera Lakehouse Optimizer and retry the request.
400

policyName query parameter is required when status is SUCCESS or ERROR

This error occurs when Cloudera Lakehouse Optimizer understands the request but the request is invalid. Follow the rule stated in the message and resend the request.
400

sortOrder must be one of: asc, desc

This error occurs when Cloudera Lakehouse Optimizer understands the request but the request is invalid. Follow the rule stated in the message and resend the request.
400

Status must be one of: PAUSED, SUCCESS, ERROR

This error occurs when Cloudera Lakehouse Optimizer understands the request but the request is invalid. Follow the rule stated in the message and resend the request.
404

Table {table_id} is not currently paused

This error occurs when the named catalog, namespace, table, policy, version, or task does not exist or is not registered in Cloudera Lakehouse Optimizer. Verify that the identifier named in the message exists and is registered with Cloudera Lakehouse Optimizer and retry the request.
404

Table {table_name} not found

This error occurs when the named catalog, namespace, table, policy, version, or task does not exist or is not registered in Cloudera Lakehouse Optimizer. Verify that the identifier named in the message exists and is registered with Cloudera Lakehouse Optimizer and retry the request.
404

Table {table} not present in namespace : {namespace}

This error occurs when the named catalog, namespace, table, policy, version, or task does not exist or is not registered in Cloudera Lakehouse Optimizer. Verify that the identifier named in the message exists and is registered with Cloudera Lakehouse Optimizer and retry the request.
400

version must be a valid UUID

This error occurs when Cloudera Lakehouse Optimizer understands the request but the request is invalid. Follow the rule stated in the message and resend the request.
400

version query parameter is required

This error occurs when Cloudera Lakehouse Optimizer understands the request but the request is invalid. Follow the rule stated in the message and resend the request.
404

Version {version} not found for policy {policy_name}

This error occurs when the named catalog, namespace, table, policy, version, or task does not exist or is not registered in Cloudera Lakehouse Optimizer. Verify that the identifier named in the message exists and is registered with Cloudera Lakehouse Optimizer and retry the request.
500

{exception message}

This error occurs when the config or policy controllers catch a ResourceLocatorException, TaskDaoException, Iceberg.CatalogException, IOException, or generic Exception. Cloudera Lakehouse Optimizer returns the raw exception message, so the text varies with the failure. Search the Cloudera Lakehouse Optimizer log for the same message. Most catch blocks log the stack trace. However, 2 of the 24 raising sites catch an exception without logging it, so the Cloudera Lakehouse Optimizer log might not contain the cause.
400

{exception message}

This error occurs when Cloudera Lakehouse Optimizer encounters an invalid JSON body or a missing namespace, which the two exception mappers process, an IllegalArgumentException, an InvalidAssociationException, an invalid backup archive, or a NullPointerException. Cloudera Lakehouse Optimizer returns the message of the exception. Fix the request body or parameters. For a missing namespace, specify a namespace or set dlm.namespace.name.
404

{exception message}

This error occurs when Cloudera Lakehouse Optimizer raises a ResourceNotFoundException, NoSuchElementException, PolicyNotFoundException, InvalidResourceException, or NoSuchTableException. Cloudera Lakehouse Optimizer returns the message of the exception, and the text names the missing object. Verify that the policy, namespace, table, or resource path named in the message exists and retry the request.
401

Not Authorized to access {resource}

This error occurs when the authorizer denies the caller access on the namespace or table scope. Cloudera Lakehouse Optimizer returns HTTP 401 although this is an authorization failure. Cloudera Lakehouse Optimizer raises this error only if dlm.authorization.enabled=true. The Helm chart sets this property to false and uses a permissive authorizer. Ask an administrator to grant access on the named scope in the configured authorizer. The default authorizer is Ranger.
404

{policy_version} not found!

{table_path} not found!

This error occurs when Cloudera Lakehouse Optimizer cannot find the penalty card for a policy version or table. The message contains only <identifier> not found! and does not state the type of object. Verify that the policy version or table path is correct.
503

{"status":503,"action":"ERROR","message":"CLO is NOT_READY — the Iceberg catalog or operational storage is not yet connected. CLO will automatically retry the catalog connection every {catalog_init_retry_interval_seconds}s (dlm.catalog.init.retry.interval.seconds) — once Polaris is reachable and the required Ranger policies are in place, CLO will come online without any manual intervention."}

This error occurs when Cloudera Lakehouse Optimizer is NOT_READY because the catalog or operational storage is not connected. If AwcApiExtensionFactory, which registers this filter, is configured, Cloudera Lakehouse Optimizer raises this error for every path that is not on the allow list while Cloudera Lakehouse Optimizer is NOT_READY. The filter builds the response body manually. Check GET /api/v1/startup for the failing gate, and verify the catalog and Ranger setup. Cloudera Lakehouse Optimizer retries automatically.
503

Leader URL not in allow-list

This error occurs when dlm.ha.passive.redirect=true and the host:port of the elected leader is not in dlm.ha.allowed.leader.hosts. Cloudera Lakehouse Optimizer refuses the redirect and sends a Retry-After header. Add the host:port of the leader to dlm.ha.allowed.leader.hosts.
503

No leader is currently available — ZooKeeper election is in progress.

This error occurs when dlm.ha.passive.redirect=true and no leader is elected yet. Cloudera Lakehouse Optimizer sends a Retry-After header. The dlm.ha.retry-after-seconds property sets the interval, and the default value is 5. Retry the request after the Retry-After interval. If the problem happens again, check ZooKeeper connectivity.
503

Passive - Standby Mode.

This error occurs when high availability (HA) is enabled and this node is not the leader. With dlm.ha.passive.redirect=false, which is the default, the filter rejects the request. This branch sends no Retry-After header. Send the request to the leader node, or retry the request through the load balancer.
429

Rate limit exceeded — too many requests from this address. Retry shortly.

This error occurs when requests from one address exceed the per-address rate limit. The dlm.throttle.enabled property enables rate limiting and is true by default. The dlm.throttle.requests.per.second and dlm.throttle.burst.capacity properties configure the limit. Cloudera Lakehouse Optimizer sends a Retry-After header. Wait for the Retry-After interval, and reduce the request frequency.
401

Couldn't find bearer token in the auth header in the request

This error occurs only in jwt auth mode, if the request has no Bearer token. Cloudera Lakehouse Optimizer does not raise this error in platform mode, which is the Helm default. Send Authorization: Bearer <token>. If you intend to use platform mode, set dlm.security.auth.mode=platform.
401

{exception message}

This error occurs only in jwt auth mode, if JWT validation fails. Cloudera Lakehouse Optimizer returns the message of the authentication exception. Cloudera Lakehouse Optimizer does not raise this error in platform mode, which is the Helm default. Send a valid, unexpired Bearer JWT. If you intend to use platform mode, set dlm.security.auth.mode=platform and send requests through the Anywhere Cloud gateway.
401

Failed to validate JWT from Bearer token in Authentication header

This error occurs only in jwt auth mode, if Cloudera Lakehouse Optimizer cannot parse the Bearer token. Obtain a new token, and resend it as Authorization: Bearer <token>.
403

No Cloudera Lakehouse Optimizer roles found for platform-authenticated subject

This error occurs in platform auth mode with a dlm.security.role.* mapping configured, if none of the groups or roles of the caller maps to a Cloudera Lakehouse Optimizer role. Add the group of the caller to a dlm.security.role.admin, dlm.security.role.operator, or dlm.security.role.monitor mapping.
403

No roles found for subject

This error occurs in jwt authentication mode only, if a doAs identity is present but has no Cloudera Lakehouse Optimizer role and no Bearer token. Send a Bearer token that carries a Cloudera Lakehouse Optimizer role, or ask an administrator to map the user to a role.
403

Platform authentication requires roles in {value of dlm.security.platform.groups.header (default: x-awc-roles)}

This error occurs in platform authentication mode if the groups or roles header, x-awc-roles by default, is present but contains no role values, and no dlm.security.role.* mapping is configured. Ensure that the gateway passes roles in the header, or configure dlm.security.role.admin, dlm.security.role.operator, or dlm.security.role.monitor.
403

Platform authentication requires {value of dlm.security.platform.groups.header (default: x-awc-roles)}

This error occurs in platform authentication mode if the groups or roles header, x-awc-roles by default, is missing. Call Cloudera Lakehouse Optimizer through the Anywhere Cloud gateway so that the gateway injects the header.
401

Platform authentication requires {value of dlm.security.platform.username.header (default: x-awc-username)}

This error occurs in platform authentication mode, the Helm default, if the identity header is missing or blank. The default identity header is x-awc-username, and dlm.security.platform.username.header sets it. Call Cloudera Lakehouse Optimizer through the Anywhere Cloud gateway so that the gateway injects the identity headers. Do not set the identity headers yourself.
None (startup; process or gate fails)

API extension {name} contributes resource methods with no @RolesAllowed, @PermitAll or @DenyAll: {methods_without_roles}

This error occurs when the API extension factory that dlm.api.extension.factory configures fails, returns null, or declares resource methods without a role annotation. In Anywhere Cloud, this factory is AwcApiExtensionFactory. Cloudera Lakehouse Optimizer does not start the API server. Fix the extension that the message names. The Cloudera Lakehouse Optimizer log contains the exception. For methods without a role annotation, add @RolesAllowed, @PermitAll, or @DenyAll.
None (startup; process or gate fails)

API extension {name} failed in leaderExemptPaths()

This error occurs when the API extension factory that dlm.api.extension.factory configures fails, returns null, or declares resource methods without a role annotation. In Anywhere Cloud, this factory is AwcApiExtensionFactory. Cloudera Lakehouse Optimizer does not start the API server. Fix the extension that the message names. The Cloudera Lakehouse Optimizer log contains the exception. For methods without a role annotation, add @RolesAllowed, @PermitAll, or @DenyAll.
None (startup; process or gate fails)

API extension {name} failed in resources()

This error occurs when the API extension factory that dlm.api.extension.factory configures fails, returns null, or declares resource methods without a role annotation. In Anywhere Cloud, this factory is AwcApiExtensionFactory. Cloudera Lakehouse Optimizer does not start the API server. Fix the extension that the message names. The Cloudera Lakehouse Optimizer log contains the exception. For methods without a role annotation, add @RolesAllowed, @PermitAll, or @DenyAll.
None (startup; process or gate fails)

API extension {name} returned null from resources()

This error occurs when the API extension factory that dlm.api.extension.factory configures fails, returns null, or declares resource methods without a role annotation. In Anywhere Cloud, this factory is AwcApiExtensionFactory. Cloudera Lakehouse Optimizer does not start the API server. Fix the extension that the message names. The Cloudera Lakehouse Optimizer log contains the exception. For methods without a role annotation, add @RolesAllowed, @PermitAll, or @DenyAll.
None (startup; process or gate fails)

dlm.api.extension.factory: create() failed

This error occurs when the API extension factory that dlm.api.extension.factory configures fails, returns null, or declares resource methods without a role annotation. In Anywhere Cloud, this factory is AwcApiExtensionFactory. Cloudera Lakehouse Optimizer does not start the API server. Fix the extension that the message names. The Cloudera Lakehouse Optimizer log contains the exception. For methods without a role annotation, add @RolesAllowed, @PermitAll, or @DenyAll.
None (startup; process or gate fails)

unable to instantiate action factory

This error occurs when Cloudera Lakehouse Optimizer cannot load or instantiate a class that a configuration property names, such as an action factory, catalog factory, job tracker, or another plugin. Verify the class name in the matching dlm.* property, and verify that the JAR file of the class is on the classpath. The Cloudera Lakehouse Optimizer log contains the cause.
None (startup; process or gate fails)

FileSystem audit publisher selected but dlm.audit.fs.uri is not configured.

This error occurs when audit publishing is misconfigured at startup. Possible causes are a filesystem publisher without dlm.audit.fs.uri, an Anywhere Cloud gateway URL in dlm.audit.awc.gateway.url that is not a valid HTTP or HTTPS URL, or an audit event cache that cannot start. Set dlm.audit.fs.uri, or set dlm.audit.awc.gateway.url to a valid HTTP or HTTPS URL. For a cache failure, check the Cloudera Lakehouse Optimizer log for the cause.
None (startup; process or gate fails)

FileSystem publisher selected but no FS URI configured. Please set dlm.audit.fs.uri property.

This error occurs when audit publishing is misconfigured at startup. Possible causes are a filesystem publisher without dlm.audit.fs.uri, an Anywhere Cloud gateway URL in dlm.audit.awc.gateway.url that is not a valid HTTP or HTTPS URL, or an audit event cache that cannot start. Set dlm.audit.fs.uri, or set dlm.audit.awc.gateway.url to a valid HTTP or HTTPS URL. For a cache failure, check the Cloudera Lakehouse Optimizer log for the cause.
None (startup; process or gate fails)

Failed to initialize audit EventCache

This error occurs when audit publishing is misconfigured at startup. Possible causes are a filesystem publisher without dlm.audit.fs.uri, an Anywhere Cloud gateway URL in dlm.audit.awc.gateway.url that is not a valid HTTP or HTTPS URL, or an audit event cache that cannot start. Set dlm.audit.fs.uri, or set dlm.audit.awc.gateway.url to a valid HTTP or HTTPS URL. For a cache failure, check the Cloudera Lakehouse Optimizer log for the cause.
None (startup; process or gate fails)

Invalid dlm.audit.awc.gateway.url: {resolve_gateway_url}

This error occurs when audit publishing is misconfigured at startup. Possible causes are a filesystem publisher without dlm.audit.fs.uri, an Anywhere Cloud gateway URL in dlm.audit.awc.gateway.url that is not a valid HTTP or HTTPS URL, or an audit event cache that cannot start. Set dlm.audit.fs.uri, or set dlm.audit.awc.gateway.url to a valid HTTP or HTTPS URL. For a cache failure, check the Cloudera Lakehouse Optimizer log for the cause.
None (startup; process or gate fails)

unable to instantiate catalog factory {class_name}

This error occurs when Cloudera Lakehouse Optimizer cannot load or instantiate a class that a configuration property names, such as an action factory, catalog factory, job tracker, or another plugin. Verify the class name in the matching dlm.* property, and verify that the JAR file of the class is on the classpath. The Cloudera Lakehouse Optimizer log contains the cause.
None (startup; process or gate fails)

Unknown dlm.catalog.type: {value of dlm.catalog.type (default: hms)} (expected 'hms' or 'rest')

This error occurs when dlm.catalog.type is not hms or rest. With the default startup strategy, Cloudera Lakehouse Optimizer aborts startup. With AwcCatalogInitStrategy, every startup failure keeps Cloudera Lakehouse Optimizer in the NOT_READY state, and Cloudera Lakehouse Optimizer retries. The Helm chart sets rest. Set dlm.catalog.type to hms or rest in dlm.properties.
None (startup; process or gate fails)

Cannot initialise path : {path}

This error occurs when Cloudera Lakehouse Optimizer cannot create or access a configured directory, such as dlm.local.dir or dlm.remote.dir. The message contains the path, and the Cloudera Lakehouse Optimizer log contains the I/O error. Verify that the path exists and that Cloudera Lakehouse Optimizer can write to it. For s3a:// paths, verify the storage credentials and the object-store RAZ policy.
None (startup; process or gate fails)

dlm.security.auth.mode=platform is incompatible with dlm.kerberos.enabled=true

This error occurs when dlm.security.auth.mode=platform is combined with dlm.kerberos.enabled=true. DLMService.init() checks this combination first, outside the NOT_READY retry path, so Cloudera Lakehouse Optimizer always fails to start. If dlm.security.auth.mode=platform, set dlm.kerberos.enabled=false.
None (startup; process or gate fails)

Failed to create dirs at path {path}

This error occurs when Cloudera Lakehouse Optimizer cannot create or access a configured directory, such as dlm.local.dir or dlm.remote.dir. The message contains the path, and the Cloudera Lakehouse Optimizer log contains the I/O error. Verify that the path exists and that Cloudera Lakehouse Optimizer can write to it. For s3a:// paths, verify the storage credentials and the object-store RAZ policy.
None (startup; process or gate fails)

Failed to load dlm properties

This error occurs when Cloudera Lakehouse Optimizer cannot read its configuration files, dlm.properties and related resources, or cannot resolve the built-in policies/default resource. Cloudera Lakehouse Optimizer does not start. Verify that dlm.properties and its mounted ConfigMap are present and readable. The Cloudera Lakehouse Optimizer log contains the I/O error.
None (startup; process or gate fails)

Invalid URI syntax for 'policies/default' resource in the classpath

This error occurs when Cloudera Lakehouse Optimizer cannot read its configuration files, dlm.properties and related resources, or cannot resolve the built-in policies/default resource. Cloudera Lakehouse Optimizer does not start. Verify that dlm.properties and its mounted ConfigMap are present and readable. The Cloudera Lakehouse Optimizer log contains the I/O error.
None (startup; process or gate fails)

Unable to initialize prometheus metrics exporter

This error occurs when the Prometheus metrics exporter fails to start. Verify that the metrics port is free. The Cloudera Lakehouse Optimizer log contains the cause.
None (startup; process or gate fails)

reconfigure did not pass the startup gates: {exception message}

This error occurs when a startup gate fails when POST or PUT /config/reconfigure reruns the startup gates. The message appends the exception message of the failing gate. The client receives a 500 response with that text. Read GET /api/v1/startup to find the failing gate and its hint. Fix the cause and call reconfigure again.
None (startup; process or gate fails)

unable to instantiate job tracker {value of dlm.job.tracker.factory}

This error occurs when Cloudera Lakehouse Optimizer cannot load or instantiate a class that a configuration property names, such as an action factory, catalog factory, job tracker, or another plugin. Verify the class name in the matching dlm.* property, and verify that the JAR file of the class is on the classpath. The Cloudera Lakehouse Optimizer log contains the cause.
None (startup; process or gate fails)

unable to instantiate {role} {class_name}

This error occurs when Cloudera Lakehouse Optimizer cannot load or instantiate a class that a configuration property names, such as an action factory, catalog factory, job tracker, or another plugin. Verify the class name in the matching dlm.* property, and verify that the JAR file of the class is on the classpath. The Cloudera Lakehouse Optimizer log contains the cause.
None (startup; process or gate fails)

unable to load {role} {class_name}

This error occurs when Cloudera Lakehouse Optimizer cannot load or instantiate a class that a configuration property names, such as an action factory, catalog factory, job tracker, or another plugin. Verify the class name in the matching dlm.* property, and verify that the JAR file of the class is on the classpath. The Cloudera Lakehouse Optimizer log contains the cause.
None (startup; process or gate fails)

{engine} failed to initialise: {describe}

This error occurs when Cloudera Lakehouse Optimizer cannot find the execution engine class that dlm.execution.engine sets on the classpath, or if the class is found but raises an exception while starting. In the second case, the message contains the message of the engine. Verify dlm.execution.engine and the settings of the engine. For Cloudera Data Engineering, these are the dlm.cde.* properties. Verify that the engine JAR file is deployed.
None (startup; process or gate fails)

{engine} not available on classpath

This error occurs when Cloudera Lakehouse Optimizer cannot find the execution engine class that dlm.execution.engine sets on the classpath, or if the class is found but raises an exception while starting. In the second case, the message contains the message of the engine. Verify dlm.execution.engine and the settings of the engine. For Cloudera Data Engineering, these are the dlm.cde.* properties. Verify that the engine JAR file is deployed.
None (startup; process or gate fails)

{key}: class {configured value} failed to load ({simple_name})

{key}: class {configured value} failed to load ({simple_name}: {exception message})

This error occurs when Cloudera Lakehouse Optimizer cannot load or create a class that the configuration property {key} names. Possible causes are a class that is not found, a failed static initialization or a missing dependency, a class that is not the expected type, or a class without a usable constructor. Cloudera Lakehouse Optimizer raises this error at startup. With AwcCatalogInitStrategy, this error keeps Cloudera Lakehouse Optimizer in the NOT_READY state. Fix the class name in the property that {key} names, and ensure that the JAR file of the class is on the classpath. The Cloudera Lakehouse Optimizer log contains the cause.
None (startup; process or gate fails)

{key}: class {configured value} is not a {name}

This error occurs when Cloudera Lakehouse Optimizer cannot load or create a class that the configuration property {key} names. Possible causes are a class that is not found, a failed static initialization or a missing dependency, a class that is not the expected type, or a class without a usable constructor. Cloudera Lakehouse Optimizer raises this error at startup. With AwcCatalogInitStrategy, this error keeps Cloudera Lakehouse Optimizer in the NOT_READY state. Fix the class name in the property that {key} names, and ensure that the JAR file of the class is on the classpath. The Cloudera Lakehouse Optimizer log contains the cause.
None (startup; process or gate fails)

{key}: class {configured value} not found

This error occurs when Cloudera Lakehouse Optimizer cannot load or create a class that the configuration property {key} names. Possible causes are a class that is not found, a failed static initialization or a missing dependency, a class that is not the expected type, or a class without a usable constructor. Cloudera Lakehouse Optimizer raises this error at startup. With AwcCatalogInitStrategy, this error keeps Cloudera Lakehouse Optimizer in the NOT_READY state. Fix the class name in the property that {key} names, and ensure that the JAR file of the class is on the classpath. The Cloudera Lakehouse Optimizer log contains the cause.
None (startup; process or gate fails)

{key}: could not create {simple_name} {name}

This error occurs when Cloudera Lakehouse Optimizer cannot load or create a class that the configuration property {key} names. Possible causes are a class that is not found, a failed static initialization or a missing dependency, a class that is not the expected type, or a class without a usable constructor. Cloudera Lakehouse Optimizer raises this error at startup. With AwcCatalogInitStrategy, this error keeps Cloudera Lakehouse Optimizer in the NOT_READY state. Fix the class name in the property that {key} names, and ensure that the JAR file of the class is on the classpath. The Cloudera Lakehouse Optimizer log contains the cause.
None (startup; process or gate fails)

{key}: {simple_name} {name} needs a public (DLMConfiguration) or no-arg constructor

This error occurs when Cloudera Lakehouse Optimizer cannot load or create a class that the configuration property {key} names. Possible causes are a class that is not found, a failed static initialization or a missing dependency, a class that is not the expected type, or a class without a usable constructor. Cloudera Lakehouse Optimizer raises this error at startup. With AwcCatalogInitStrategy, this error keeps Cloudera Lakehouse Optimizer in the NOT_READY state. Fix the class name in the property that {key} names, and ensure that the JAR file of the class is on the classpath. The Cloudera Lakehouse Optimizer log contains the cause.
None (startup; process or gate fails)

dispatcher factory failure

This error occurs when Cloudera Lakehouse Optimizer cannot create the policy task dispatcher factory. Check the Cloudera Lakehouse Optimizer log for the cause.
None (startup; process or gate fails)

Required REST catalog property '{key}' is not set

This error occurs when a required dlm.catalog.rest.* property is missing or blank when Cloudera Lakehouse Optimizer builds the catalog client. With the default startup strategy, Cloudera Lakehouse Optimizer aborts startup. With AwcCatalogInitStrategy, Cloudera Lakehouse Optimizer stays in the NOT_READY state and retries. Set the property that the message names in dlm.properties. The Helm chart sets dlm.catalog.rest.uri and warehouse from the restCatalog.* values.
None (hint text in the body of GET /api/v1/startup, HTTP 200)

Cloudera Lakehouse Optimizer could not build its catalog client. Check that the catalog is running and that the catalog settings are right. The CLO log has the cause.

This error occurs when the catalog startup check fails because Cloudera Lakehouse Optimizer cannot build its catalog client. Verify that the catalog is running and that the dlm.catalog.* settings, such as dlm.catalog.rest.uri and warehouse, are correct. The Cloudera Lakehouse Optimizer log contains the cause.
None (hint text in the body of GET /api/v1/startup, HTTP 200)

CLO reached the catalog but could not list its namespaces or read its policy store. The CLO log has the cause.

This error occurs when the catalogAccess startup check fails. The catalog responds, but Cloudera Lakehouse Optimizer cannot list namespaces or read the policy store. Verify that the Ranger policies of the catalog allow the Cloudera Lakehouse Optimizer workload identity to list namespaces. GET /api/v1/cloIdentity returns this identity. Verify that the policy store is readable.
None (hint text in the body of GET /api/v1/startup, HTTP 200)

Creating the job tracker, or loading and scheduling CLO's table-maintenance (Iceberg optimization) policies, failed. These are not the catalog's Ranger policies. The CLO log has the cause.

This error occurs when the cloPolicies startup check fails because Cloudera Lakehouse Optimizer cannot create the job tracker, or cannot load and schedule its table-maintenance policies. These policies are not the Ranger policies of the catalog. Verify dlm.execution.engine, its settings, and the policy files. The Cloudera Lakehouse Optimizer log contains the cause.
None (hint text in the body of GET /api/v1/startup, HTTP 200)

The catalog refused CLO's workload identity. Grant that identity in the catalog's Ranger policies; GET /api/v1/cloIdentity shows it.

This error occurs when the catalog denies access to the Cloudera Lakehouse Optimizer identity. In the Ranger policies of the catalog, grant access to the identity that GET /api/v1/cloIdentity returns.
None (hint text in the body of GET /api/v1/startup, HTTP 200)

The CLO log has the cause.

GET /api/v1/startup returns this fallback hint for a failed check that has no specific hint. Read the Cloudera Lakehouse Optimizer log from the startup attempt to find the stack trace.
None (hint text in the body of GET /api/v1/startup, HTTP 200)

CLO could not create, write, read back and delete a probe file under dlm.remote.dir/exchange. Check the storage permissions. The CLO log has the cause.

This error occurs when the storage startup gate fails because Cloudera Lakehouse Optimizer cannot create, write, read back, and delete a probe file under dlm.remote.dir/exchange. Verify the permissions of Cloudera Lakehouse Optimizer on dlm.remote.dir/exchange. For s3a:// paths, also verify the object-store policy. The Cloudera Lakehouse Optimizer log contains the cause.
None (hint text in the body of GET /api/v1/startup, HTTP 200)

The namespace named by dlm.namespace.name does not exist in the catalog, or CLO cannot see it. Create it in the catalog (dlm.namespace.name={configured value}).

The namespace named by dlm.namespace.name does not exist in the catalog, or CLO cannot see it. Create it in the catalog.

This error occurs when the namespace startup gate fails because the namespace that dlm.namespace.name names does not exist in the catalog, or Cloudera Lakehouse Optimizer cannot see the namespace. Create the namespace in the catalog, or correct dlm.namespace.name. Verify that Cloudera Lakehouse Optimizer is allowed to see the namespace.
None (helm install/upgrade fails)

cde.vcEndpoint is required when executionEngine=cde

This error occurs when executionEngine=cde and cde.vcEndpoint is not set. Helm refuses to render the chart. An empty value also causes this error. Set cde.vcEndpoint in the values.yaml file.
None (helm install/upgrade fails)

db.existingSecret.name is required when db.url is set

This error occurs when db.url is set. The DLM_DB_PASSWORD secret reference requires db.existingSecret.name, so Helm refuses to render the chart. In the values.yaml file, set db.existingSecret.name and its key to a Secret that holds the database password.
None (helm install/upgrade fails)

serviceAccount.name must be set when serviceAccount.create is false

This error occurs when serviceAccount.create is false. The chart requires the name of an existing service account, so Helm refuses to render the chart. Set serviceAccount.name to an existing service account, or set serviceAccount.create=true.
None (stored as task message)

Dao Exception : {exception message}

This error occurs when Cloudera Lakehouse Optimizer fails to recover a previously submitted task. Cloudera Lakehouse Optimizer writes the task status message Dao Exception : ... for a task-store error, and Exception : ... for any other exception. The text after the colon is the message of the exception. Read the task with GET /api/v1/tasks/id/{id}. The Cloudera Lakehouse Optimizer log contains Dao error during recovery or Unknown exception during task recovery.
None (stored as task message)

Exception : {exception message}

This error occurs when Cloudera Lakehouse Optimizer fails to recover a previously submitted task. Cloudera Lakehouse Optimizer writes the task status message Dao Exception : ... for a task-store error, and Exception : ... for any other exception. The text after the colon is the message of the exception. Read the task with GET /api/v1/tasks/id/{id}. The Cloudera Lakehouse Optimizer log contains Dao error during recovery or Unknown exception during task recovery.
None (stored as task message)

JobActionExecuteException : {exception message}

This error occurs when an engine action fails. The task status message contains the prefix JobActionExecuteException : followed by the engine failure text. For Cloudera Data Engineering runs and Livy batches, see the engine rows. Read the task with GET /api/v1/tasks/id/{id} and check the logs of the engine for the run ID or batch ID in the message.
None (stored as task message)

Some of actions failed to complete

This error occurs when the task ends in the FAILED state because at least one action result failed, or because fewer results than actions were produced. The message does not identify the failed action. Read the task detail with GET /api/v1/tasks/id/{id}. The per-action status identifies the failed action.
None (stored as task message)

{error_message}

{exception message}

This error occurs when an action-argument validation fails with ActionArgumentsValidationException. The task status message is set to the message of the exception, without a prefix. Fix the action arguments in the policy as described in the message and let the policy run again.
None (stored as task failure text)

CDE run {run_id} failed: {error}

This error occurs when the engine job finishes and writes an output.json file that reports a failure. {error} is the error text that the job recorded, passed through from the Spark job. Find the run ID or batch ID in the engine UI or logs. The error text comes from the job itself.
None (stored as task failure text)

CDE run {run_id} reached state '{status}'. {fetch_log_snippet}

This error occurs when the engine job ends in a non-success state and writes no output.json file. The message contains the state and a snippet of the engine log, fetched at the time of the failure. Open the logs of the engine for the run ID or batch ID. The snippet in the message contains the last log lines.
None (stored as task failure text)

CDE run {run_id} succeeded but its output.json could not be read: {e}

This error occurs when the engine job succeeds but Cloudera Lakehouse Optimizer cannot read its output.json file. Cloudera Lakehouse Optimizer records the action as failed instead of as a success with no result. The table change might already have happened. Check the table state. The Cloudera Lakehouse Optimizer log contains the read error. Cloudera Lakehouse Optimizer raises the failure without a cause, so the failure is not retried.
None (stored as task failure text)

Result class not found for CDE run {run_id}: {exception message}

This error occurs when the output.json file names a result class that is not on the classpath of Cloudera Lakehouse Optimizer. The cause is a version mismatch between the runtime JAR file that the engine runs and Cloudera Lakehouse Optimizer. Verify that the runtime JAR file deployed to the engine matches the Cloudera Lakehouse Optimizer version.
None (stored as task failure text)

Unexpected timeout polling CDE run {run_id}

This error occurs when the polling future for the engine run times out while waiting. Verify that the engine is reachable and that the run is still active.
None (stored as task failure text)

Livy batch {batch_id} failed: {error}

This error occurs when the engine job finishes and writes an output.json file that reports a failure. {error} is the error text that the job recorded, passed through from the Spark job. Find the run ID or batch ID in the engine UI or logs. The error text comes from the job itself.
None (stored as task failure text)

Livy batch {batch_id} reached state '{state}'. {fetch_log_snippet}

This error occurs when the engine job ends in a non-success state and writes no output.json file. The message contains the state and a snippet of the engine log, fetched at the time of the failure. Open the logs of the engine for the run ID or batch ID. The snippet in the message contains the last log lines.
None (stored as task failure text)

Livy batch {batch_id} succeeded but its output.json could not be read: {e}

This error occurs when the engine job succeeds but Cloudera Lakehouse Optimizer cannot read its output.json file. Cloudera Lakehouse Optimizer records the action as failed instead of as a success with no result. The table change might already have happened. Check the table state. The Cloudera Lakehouse Optimizer log contains the read error. Cloudera Lakehouse Optimizer raises the failure without a cause, so the failure is not retried.
None (stored as task failure text)

Result class not found for batch {batch_id}: {exception message}

This error occurs when the output.json file names a result class that is not on the classpath of Cloudera Lakehouse Optimizer. The cause is a version mismatch between the runtime JAR file that the engine runs and Cloudera Lakehouse Optimizer. Verify that the runtime JAR file deployed to the engine matches the Cloudera Lakehouse Optimizer version.
None (stored as task failure text)

Unexpected timeout polling Livy batch {batch_id}

This error occurs when the polling future for the engine run times out while waiting. Verify that the engine is reachable and that the run is still active.
None (stored as task failure text)

Unexpected timeout while waiting indefinitely

This error occurs when ActionResult.get() raises a TimeoutException even though the call has no timeout, which is not expected. Cloudera Lakehouse Optimizer wraps the exception as an ExecutionException. Check the Cloudera Lakehouse Optimizer log for the stack trace.