SQL Editor query and credential failures

The Cloudera Data Explorer SQL Editor relies on a configured Trino coordinator and a valid user access key to authenticate and run queries.

Condition

A query fails once with one of the following messages:

  • AWC access credentials are no longer valid. Reload the page to obtain new ones; if this keeps happening, sign in again through the Anywhere Cloud Console.

Cause

Your access key was revoked or is not yet available. Each user has one access key shared across all sessions, so logging out in one browser tab or device revokes it for all active sessions.

Solution

  1. Reload the page.

    The next page load provides a new access key automatically, and queries resume.

  2. If the message persists, sign in again from the Anywhere Cloud Console.

Query is denied by Trino

A query fails with a Trino permission error such as PERMISSION_DENIED even though you can open Cloudera Data Explorer, because data access is authorized separately in Trino.

Condition

A query fails with a permission message from Trino (such as PERMISSION_DENIED) even though you can open Data Explorer.

Cause

Data Explorer access and data access are separate. Trino authorizes each query under your identity, and your user lacks permission for that catalog, schema, or table in Trino.

Solution

Ask your Cloudera Lakehouse Engine administrator to grant your user the required permissions for the catalog, schema, or table through Ranger authorization for Trino. For more information, see Apache Ranger services for Cloudera Lakehouse Engine authorization.

SQL Editor is not displayed

The SQL Editor or Trino interpreter is not displayed in Cloudera Data Explorer when the Trino coordinator URL is missing, incorrect, or unreachable.

Condition

The SQL Editor is missing, or the Trino interpreter is not displayed.

Cause

The Trino coordinator URL is missing or incorrect in the deployment configuration, or Trino cannot be reached.

Solution

  1. Verify the URL in Cloudera Lakehouse Engine; it must start with https:// and match your endpoint exactly.
  2. Ask your administrator to update the value in the Data Explorer configuration and redeploy the service.