Cloudera Data Explorer error reference

The Cloudera Data Explorer error reference lists the error messages for sign-in, the SQL Editor on Trino, saved queries and folders, admin pages, and page loading, with descriptions and recommended actions.

This reference lists the error messages of Cloudera Data Explorer on Anywhere Cloud: Anywhere Cloud sign-in through Knox, the SQL Editor on Trino, saved queries and folders, and the Configuration and Server Logs tabs of the admin page. For each message, the reference gives the error code where there is one, a short explanation, where the message appears, a description, and a recommended action.

Layout of the Cloudera Data Explorer error tables

The Error code column shows the HTTP status code that the request returns, or None followed by the kind of message in parentheses. A code such as 200 (body status -1) means that the API returns HTTP 200 and reports the failure in the status field of the response body. None (UI text) is a message that the browser displays for a failed request of any status. None (log only) is a message that Hue writes only to the Hue log.

The Error message column shows the text of the message, followed by a short explanation of the message. Text in braces, such as {error}, stands for a value that varies. The Where it appears: note under each message names the page, dialog box, or log where the message appears.

The Description column gives the cause of the error, and the Recommended action column gives the steps to resolve it.

Error tables in this reference

Each area of Cloudera Data Explorer has its own table. To find a message, see the table for the area where the message appeared:

Anywhere Cloud sign-in and access errors

These identity errors come from the Anywhere Cloud middleware. They return HTTP 403 with only the public text. The detailed reason is in the Hue log under the AWC-ID of the request.

The following table lists the Anywhere Cloud sign-in and access errors:

Error code Error message Description Recommended action

403

AWC authentication failed.

The request does not carry an identity that Cloudera Data Explorer can admit.

Where it appears: Any Cloudera Data Explorer page or API call

This is the base error for all Anywhere Cloud identity failures. The specific reason is logged under the AWC-ID of the request.

Find the [AWC-ID: ...] line in the Hue log to identify the reason. For missing headers or missing roles, see the following two rows.

403

AWC authentication headers missing.

The trusted username header is absent, so Knox did not authenticate the request.

Where it appears: Any Cloudera Data Explorer page or API call

The request reached Hue without passing through Knox SSO, or the Knox gateway on the Cloudera Data Explorer cluster does not forward the X-Awc-Username header.

Open Cloudera Data Explorer from the Anywhere Cloud console so that Knox sets the headers. If the error persists, ask the Anywhere Cloud platform team to check the Knox gateway on the Cloudera Data Explorer cluster. Granting roles does not resolve this error.

403

No role is assigned for this deployment.

The user is signed in but holds no cdx-admin, cdx-user, or global:awc-admin role for this Cloudera Data Explorer scope.

Where it appears: Any Cloudera Data Explorer page or API call

The user has no Cloudera Data Explorer role in this scope, or the role was granted in a different scope.

Grant the cdx-admin or cdx-user role in the Cloudera Data Explorer scope. Then ask the user to sign out and sign in again.

403

Internal identity propagation error.

Hue hit an unexpected error while resolving the user's identity. The cause is not shown to the user.

Where it appears: Any Cloudera Data Explorer API call

An unexpected exception occurs while Hue admits the request. The traceback is logged as Failed to resolve identity for user.

Search the Hue log for the [AWC-ID: ...] line and its traceback, and fix the cause. If the cause is not a configuration problem, report it to the Hue team with the request ID.

Anywhere Cloud credential errors in the Hue log

Hue stores an Anywhere Cloud access key for each user at sign-in. The session middleware catches the following errors and writes them to the Hue log as warnings, so users see nothing. The SQL Editor reaches Trino over the mesh and does not use the key.

The following table lists the Anywhere Cloud credential errors in the Hue log:

Error code Error message Description Recommended action

None (log only)

AWC session cookie expired or invalid.

The Anywhere Cloud credentials API refused the user's SSO cookie when Hue asked for an access key. Logged as AWC: session cookie rejected while provisioning for <user>.

Where it appears: Hue log, WARNING, at sign-in

The hadoop-jwt cookie expired or is not valid for the credentials API, which returned HTTP 401.

Sign out and sign in again so that Knox issues a new cookie. If many users encounter this error, check the health of the Anywhere Cloud console and Knox SSO.

None (log only)

AWC credential storage is unavailable. Contact your administrator.

Hue has no credential encryption key, so no access key can be stored. Logged at startup as an ERROR, and at sign-in as AWC: access key not provisioned for <user>: no credential encryption key is configured.

Where it appears: Hue log

The credential_key_script returned no key. The engine renders the key Secret only if the platform OAuth token URL, and therefore the console URL, is known. Without this URL, no key exists.

Verify that OAuth is set in the platform configuration with a token URL that ends in /auth/access-keys/token, and redeploy Cloudera Data Explorer. Then verify that the key Secret is mounted at /etc/hue/awc-credential-key/key. This error does not affect SQL Editor queries.

None (log only)

The stored AWC credential cannot be decrypted.

A stored access key cannot be read with the current credential key. Logged as AWC: the stored access key of user <user> cannot be decrypted; discarding it so it is provisioned again.

Where it appears: Hue log, WARNING

The access key was stored under a different credential key, for example, after the key Secret was regenerated, or the stored value is damaged.

If the error affects one user, no action is required, because Hue discards the key and provisions a new one at the next sign-in. If the error affects many users, investigate why the credential key Secret changed.

None (log only)

Failed to contact AWC credentials API: {error}

Hue could not reach the Anywhere Cloud console to create an access key. Logged as AWC: could not provision access key for <user>: ....

Where it appears: Hue log, WARNING, at sign-in

The Anywhere Cloud console API is unreachable from the Cloudera Data Explorer pod because of a network, mesh, DNS, or TLS problem.

Verify console_base_url, and verify that the pod can reach the console. Verify that the CA bundle at /etc/hue/conf/awc-ca.crt matches the platform CA. Hue retries after a backoff period.

None (log only)

AWC credentials API returned HTTP {status}

The Anywhere Cloud console answered the access key request with an error. Logged as AWC: could not provision access key for <user>: ....

Where it appears: Hue log, WARNING, at sign-in

The console rejected or failed the request with a status other than 200, 201, or 401.

Read the status in the log, and check the Anywhere Cloud console logs for the same time. Hue retries after a backoff period.

None (log only)

AWC credentials API returned a response that is not a JSON object.

The console answered with a body Hue cannot read, such as an error page.

Where it appears: Hue log, WARNING, at sign-in

A mesh or proxy error page, an empty body, or another JSON value is returned, sometimes with HTTP 200.

Check the health of the mesh and the Anywhere Cloud console. Hue retries after a backoff period.

SQL Editor on Trino errors

These errors occur when you open an editor, run a query on a Trino coordinator, or browse databases and results. Cloudera Data Explorer does not load Hive, Impala, or the other connectors.

The following table lists the SQL Editor on Trino errors:

Error code Error message Description Recommended action

401

Missing permission to access the {editor_type} Editor

The requested editor type is not available.

Where it appears: Opening or running an editor

The editor type is hive, impala, pig, solr, or spark, and Cloudera Data Explorer does not load those apps. This error occurs with a saved query from Hue that used one of these types, a bookmark with type=hive, or a URL without a type, which defaults to hive.

Open a new SQL Editor, and select the Trino interpreter. Recreate the saved query in Trino.

500

Query id {editor_id} can not be found, please open a new editor

The saved query in the URL does not exist.

Where it appears: Opening a saved query

The saved query was deleted, or the ID in the URL or bookmark is incorrect.

Open a new editor, or select the query from the saved queries list.

500

Document {id} does not exist

The query or notebook in the request does not exist.

Where it appears: Editor actions on a saved query

The document ID or UUID is incorrect, or the document was deleted.

Refresh the saved queries list, and open the query again.

200 (body status -1)

Document does not exist or you don't have the permission to access it.

The saved query cannot be saved over. The text is the same for a missing and a denied document, so users cannot probe IDs.

Where it appears: Saving a query

The document was deleted, or the user does not have write access to it.

Save the query as a new query, or ask the owner for write access.

200 (body status -1)

Snippet type {connector_type} is not configured.

The editor asks for an interpreter that Cloudera Data Explorer does not have.

Where it appears: Opening or running an editor

No interpreter exists for that type. Cloudera Data Explorer adds one Trino interpreter for each coordinator that it discovers, so if no coordinator exists, the SQL Editor has no interpreter. A saved query might also specify an interpreter from another deployment.

Verify that a Trino (Cloudera Lakehouse Engine) coordinator is deployed and discoverable. Reopen the editor, and select an interpreter that exists.

200 (body status 1)

{message from Trino}

Trino rejected or failed the query. The text is Trino's own, passed through by the connector.

Where it appears: Result area of the SQL Editor

The query contains a syntax error or refers to a missing catalog or table, a Ranger policy denies the user, or a Ranger policy does not allow the Cloudera Data Explorer identity to impersonate the user.

Read the Trino message. For impersonation errors, add the Cloudera Data Explorer identity to the Trino impersonation policy. For access errors, verify the Ranger policies of the user.

200 (body status 1)

TrinoUserError(type=USER_ERROR, name=PERMISSION_DENIED, message="Access Denied: Principal admin cannot become user admin", query_id={query_id})

Trino refused to run the query as the signed-in user. The principal and user names in the text are those of the request.

Where it appears: Result area of the SQL Editor, for any statement

The Ranger service of Trino does not allow the Cloudera Data Explorer identity to impersonate this user. In one support case on a sandbox cluster, the error also cleared after the user selected a working catalog, as described in the next row.

Add the Cloudera Data Explorer identity to the impersonation policy. If the editor has no usable catalog selected, follow the catalog steps in the next row, and run the query again.

200 (body status 1)

TrinoUserError(type=USER_ERROR, name=MISSING_CATALOG_NAME, message="line 1:1: Catalog must be specified when session catalog is not set", query_id={query_id})

The statement names no catalog and the editor session has none selected, so Trino cannot resolve it. The assist panel then shows Tables (0) and Error loading tables.

Where it appears: Result area of the SQL Editor, for statements such as SHOW CATALOGS or CREATE NAMESPACE, and the assist panel table list

The editor remains on the system catalog, which might have no schemas defined, or on no catalog.

In the assist panel, click Back and click Refresh. In the catalog selector above the editor, select a catalog other than system, and run the query again. If no catalog is listed, verify Trino discovery.

200 (body status 1)

failed to fetch: {error}

Hue could not fetch the next page of results from Trino.

Where it appears: SQL Editor result grid

The connection to the coordinator was lost or timed out, for example, during a coordinator restart or because of a mesh problem.

Run the query again. Check the Trino coordinator pod and the mesh path from Cloudera Data Explorer.

None (UI text)

Results have expired, rerun the query if needed.

The result set is no longer available.

Where it appears: Result grid

The results were held for a limited time and are now released.

Run the query again.

None (UI text)

Result expired

The history entry's results are no longer available. Query failed is the matching status for a failed query.

Where it appears: Query history panel status tooltip

The query finished a long time ago and its results were released, or the query failed (Query failed).

Run the query again. To read the error, open the failed entry.

None (UI text)

Error loading databases.

The list of catalogs and schemas could not be loaded.

Where it appears: Assist panel, database list

The metadata request to Trino failed because the coordinator is not reachable, or the user has no Ranger access to any catalog.

Refresh the panel. Verify that Trino is reachable and that the user has access to a catalog.

None (UI text)

Error loading tables.

The tables of a schema could not be loaded.

Where it appears: Assist panel, table list

The metadata request failed, or the user has no Ranger access to the schema.

Refresh the panel, and verify that the user has access to the schema.

None (UI text)

Error loading columns.

The columns of a table could not be loaded.

Where it appears: Assist panel, column list

The metadata request failed, or the user has no Ranger access to the table.

Refresh the panel, and verify that the user has access to the table.

None (UI text)

Error loading namespaces.

The list of namespaces (interpreters) could not be loaded.

Where it appears: Assist panel, namespace list

The request for the namespaces of the interpreter failed.

Refresh the panel. If the problem happens again, check the Hue log for the failed request.

None (UI text)

Error loading table details.

The table details popover could not be loaded.

Where it appears: Editor context popover

The metadata request failed, or the user has no access to the table.

Close the popover, and try again. Verify that the user has access to the table.

Saved query and folder errors

These errors come from the documents API behind saved queries and folders when you open, move, copy, share, or import them. The table does not list messages that only a malformed API call can trigger, such as copy_document requires uuid.

The following table lists the saved query and folder errors:

Error code Error message Description Recommended action

200 (body status -1)

Document does not exist or you don't have the permission to access it.

The document cannot be read. The text is the same for a missing and a denied document.

Where it appears: Opening a saved query or folder, or a shared link

The document was deleted, the link is incorrect, or the user does not have read access.

Ask the owner to share the document with you, or ask for a new link.

200 (body status -1)

Document with UUID {uuid} not found.

No document has this UUID.

Where it appears: Opening a document by UUID

The document was deleted, or the UUID is incorrect.

Refresh the list, and open the document from the list.

200 (body status -1)

Cannot create or modify directory with name: {name}

The folder name is reserved.

Where it appears: Creating or renaming a folder

The name is the name of the Home or Trash folder of a user. Each user has one Home folder and one Trash folder, and these folders cannot be changed.

Enter a different folder name.

200 (body status -1)

Cannot save document {name} under parent directory {uuid} due to circular dependency

A folder cannot be moved into itself or into one of its own subfolders.

Where it appears: Moving a folder

The destination is inside the folder that is being moved.

Select a destination outside the folder.

200 (body status -1)

Target with UUID {uuid} is not a directory

The move destination is not a folder.

Where it appears: Moving a document

The destination is a document, not a folder.

Select a folder as the destination.

200 (body status -1)

Directory copy is not supported

Folders cannot be copied.

Where it appears: Copying a document

The selected item is a folder.

Copy the documents one at a time into a new folder.

200 (body status -1)

Failed to share document: {error}

The sharing change was not saved.

Where it appears: Share dialog

The permission update failed. The reason, for example, a database error, is appended to the message.

Try again, and check the Hue log for the reason.

500

Failed to import documents, the file does not contain valid JSON.

The import file is not valid JSON.

Where it appears: Documents import

The file is not an export from Cloudera Data Explorer or Hue, or it was edited or truncated.

Export the documents again, and import the new file.

500

Failed to import documents, the file does not contain the expected JSON schema for Cloudera Data Explorer documents.

The import file has JSON, but not the expected structure.

Where it appears: Documents import

The file was not produced by the document export.

Use a file that the document export produced.

500

Cannot import document, dependency with UUID: {uuid} not found.

An imported document needs another document that is not in the file or in Cloudera Data Explorer.

Where it appears: Documents import

The export did not include the dependency, or the dependency was deleted.

Export the dependency with the document, or import the dependency first.

None (UI text)

Import failed!

The import did not complete.

Where it appears: Import dialog

One of the three import errors in the previous rows occurred, or a request failed.

Read the notification for the reason, fix the file, and import the file again.

None (UI text)

Error loading contents.

The folder contents could not be loaded.

Where it appears: Assist panel, documents list

The documents request failed, or the user cannot read the folder.

Refresh the panel. If the problem happens again, check the Hue log.

None (UI text)

There was an error loading the document.

The share dialog could not load the document.

Where it appears: Share dialog

The document was deleted, or the user does not have access to it.

Close the dialog, refresh the list, and try again.

Admin page errors

These errors occur on the Configuration and Server Logs tabs of the admin page, which are available to users with the cdx-admin role. The Users, Groups, and Permissions tabs are not part of Cloudera Data Explorer, because Anywhere Cloud manages users and roles.

The following table lists the admin page errors:

Error code Error message Description Recommended action

200 (body status -1)

You must be a superuser.

The Configuration tab needs an admin.

Where it appears: Admin, Configuration tab

The user has the cdx-user role, not the cdx-admin role. engine.yaml maps only cdx-admin to admin.

Use a user with the cdx-admin role, or grant cdx-admin in the Anywhere Cloud console. Then sign out and sign in again.

None (UI text)

Failed loading configuration

The Configuration tab could not load.

Where it appears: Admin, Configuration tab

The configuration request failed, for example, because the user is not an admin or the server returned an error. The error is displayed under the message.

Click the Retry button. If the error persists, check the error text and the Hue log.

403

You must be a Cloudera Data Explorer admin to access this endpoint.

The Server Logs tab needs an admin.

Where it appears: Admin, Server Logs tab

The user has the cdx-user role, not the cdx-admin role.

Use a user with the cdx-admin role, or grant cdx-admin in the Anywhere Cloud console.

404

The log directory is not set or does not exist.

Hue has no log directory to read.

Where it appears: Admin, Server Logs tab

DESKTOP_LOG_DIR points to a directory that does not exist. The /var/log directory of the pod is a writable volume that is lost when the pod restarts.

Read the logs by running kubectl logs on the hue container or download the diagnostic bundle.

404

The log file does not exist.

Hue has no server log file to show.

Where it appears: Admin, Server Logs tab

The rungunicornserver.log file is not in the log directory, for example, after a pod restart or because the server writes its log to a different location.

Read the logs by running kubectl logs on the hue container or download the diagnostic bundle.

None (UI text)

An error occurred while fetching server logs.

The Server Logs tab could not load.

Where it appears: Admin, Server Logs tab

The logs request failed because the user is not an admin or the log directory or file is missing.

Click the Retry button and use the previous rows to identify the cause.

Page loading errors

These errors come from the shell that loads each page.

The following table lists the page loading errors:

Error code Error message Description Recommended action

None (UI text)

It looks like you are offline or an unknown error happened. Please refresh the page.

The page could not load its content.

Where it appears: Any page

The network connection dropped or the session or Knox cookie expired and the request was refused.

Refresh the page. If the sign-in page opens, sign in again.

None (UI text)

Failed to load the page. Please refresh the page.

A page's code could not be downloaded.

Where it appears: Any React page

The browser cannot download a script bundle, for example, during a Cloudera Data Explorer upgrade or because of a network problem.

Refresh the page. If the problem happens again, clear the browser cache.