Duczer East
Healthcare

In-perimeter AI on governed clinical and operational data.

Financial Services

Private AI and data platforms built to clear model-risk and audit review.

Financial services

Private AI, KYC/AML, API gateways and data governance for banks.

Insurance

Change data capture, governed agents and integration for insurers.

Healthcare

PHI document intelligence, FHIR APIs and in-perimeter AI for health systems and plans.

GuideCloudera / Data Services & AI7 min read

Iceberg REST catalog on Cloudera: what it does and how to connect engines

One catalog for Spark, Trino, Snowflake and others to reach Cloudera Iceberg tables

Authored byCo-Founder and Managing Partner, Duczer East
Part of the Insights topic: Private AI & Data Architecture
On this page
  1. What the Iceberg REST catalog does
  2. Which engines connect
  3. How a data share works
  4. Calls the catalog supports
  5. Setup steps
  6. Known issues to plan around
  7. Access control
  8. REST catalog or HiveCatalog
  9. A first engagement

The Cloudera Iceberg REST catalog lets engines outside your cluster, such as Spark, Trino, Snowflake, Athena and Databricks, read the same Iceberg tables that Hive and Impala use inside it. It runs in the Hive Metastore, signs users in with Knox OAuth tokens and checks access with Ranger. This guide covers what it does, how to connect an engine, which calls it supports and where the limits are.

What the Iceberg REST catalog does

A catalog tells an engine where a table's current metadata lives. Inside Cloudera, Hive, Impala, Spark and Flink use HiveCatalog, which stores that pointer in the Hive Metastore. The REST catalog exposes the same information over the Apache Iceberg REST API, so a tool that has no access to the Metastore can still find and read tables.

Cloudera embeds the REST catalog service in the same JVM as the Hive Metastore, through an embedded Jetty engine. That has two practical effects. The catalog can only serve metadata the host Metastore can serve. And a change to the Metastore host's configuration also changes the REST service, so treat the two as one change unit.

Which engines connect

Cloudera documents Spark, Trino, Snowflake, AWS Athena, AWS EMR Spark and Databricks as REST-enabled engines. Check your Runtime release for the access each can have, because the 7.3.1 documentation describes read access for sharing, and the 7.3.2 release notes extend sharing to Iceberg tables on Ozone from 7.3.2.20000.

QuestionAnswer from Cloudera documentation
Where does the service run?Embedded in the Hive Metastore JVM
How do users sign in?OAuth, through Knox token management
Who decides access?Apache Ranger policies
What is not supported?Ranger column masking and row-level filtering
Storage credentialsThe catalog vends short-lived, scoped credentials through Knox IDBroker and Ranger for AWS S3 and Azure ADLS Gen2. On premises, Ozone S3 credentials come through the Ozone Security Token Service

How a data share works

Cloudera frames access as a data share with two roles: the data owner and the client. The owner does the work once, and the client then reads with a credential pair.

  1. The owner generates a token in Knox token management. The token ID becomes the CLIENT_ID and the passcode becomes the CLIENT_SECRET.
  2. Token generation creates a Ranger role and a Ranger group. Knox supplies the group as a virtual group for that client.
  3. The owner writes Ranger policies for the databases and tables to share, scoped to that role and group, and keeps the permission at SELECT so access stays read-only.
  4. The owner gives the CLIENT_ID and CLIENT_SECRET to the client.
  5. The client sends them to Knox, gets back an access token, and uses it in requests to the catalog.

One client identity per consuming platform keeps the audit trail readable and lets you revoke one consumer without touching the others.

Calls the catalog supports

The Cloudera data sharing pages for Runtime 7.3 document three read calls. Each path sits behind the Knox gateway host and your data lake name.

OperationMethodPath after the gateway and data lake name
Get a tokenPOST/cdp-datashare-access/knoxtoken/api/v2/token
List namespacesGET/cdp-datashare-access/iceberg-rest/v1/namespaces
List tablesGET/cdp-datashare-access/iceberg-rest/v1/namespaces/<namespace>/tables
Load a tableGET/cdp-datashare-access/iceberg-rest/v1/namespaces/<namespace>/tables/<table>

The token call is a form post with client_id, client_secret and grant_type set to client_credentials. The response carries an access_token, which goes in an Authorization: Bearer header. Cloudera states that every call must be preceded by getting the token. A load-table call on Ozone-backed data should return a config block with an S3 access key, secret, session token and endpoint, so use it as your first check.

Setup steps

  1. Confirm your Runtime release and that the REST catalog service is enabled on the Hive Metastore.
  2. Decide which tables to share and set Ranger policies for the identity each external engine will use.
  3. Create a Knox token for that identity.
  4. Test the three calls above with curl, and confirm the load-table response returns storage credentials.
  5. Point the engine at the catalog URL with the token, and run a read-only query as a test.
  6. Check the Ranger audit: requests from the REST catalog appear with client type restCatalog.

An engine such as Spark then needs a catalog definition. The shape below is the generic Iceberg REST client configuration. The URL path and the way your engine presents the Knox token are Cloudera-specific, so take them from your cluster.

properties
spark.sql.catalog.cloudera = org.apache.iceberg.spark.SparkCatalog
spark.sql.catalog.cloudera.type = rest
spark.sql.catalog.cloudera.uri = https://<knox-host>:<port>/<catalog-path>
# token or credential settings: take these from the Cloudera documentation for your release

Treat this as a template, not a tested recipe.

Known issues to plan around

Cloudera's release notes list issues that change a design. These are the ones that matter most before a first rollout. Read the list for your exact release.

IssueWhat you seeCloudera's workaround
Client does not ask for vended credentialsReads fall back to the client's own credentials and fail with HTTP 403Send the X-Iceberg-Access-Delegation: vended-credentials header, using a client that sets it
Port clash with the YARN ResourceManagerOn premises clusters with TLS, namespace calls return HTTP 307 or failMove the ResourceManager HTTPS port
Client ID and secret without a data shareThe client can still read namespace and database metadataReview default Ranger policies, remove broad public access, add deny rules
Region not set for cloud credentialsCross-region access can failSet the client region in the Hive Metastore configuration
Snowflake and Azure vended credentialsSnowflake cannot parse the credentialsUse external volume credentials on the catalog integration

The third row is a design point, not a bug to wait out. A credential pair is an identity, so review which Ranger policies it inherits before you hand it to a partner.

Access control

Ranger decides which tables an engine can reach, and the audit shows the requests. Because column masking and row filtering are not supported on this path, do not share a table with an outside engine if its safety depends on those controls. Share a view or a filtered copy that already has the sensitive data removed.

For the policy model see Apache Ranger policy design, and for the whole picture see open data lakehouse on Cloudera.

REST catalog or HiveCatalog

SituationUse
Hive, Impala, Spark and Flink inside the clusterHiveCatalog through the Hive Metastore
A second platform must read the same tables without a copyREST catalog
The shared table depends on masking or row filters for safetyShare a prepared view or copy, not the base table
A partner needs a short-lived, revocable grantOne REST client identity per partner, with its own Ranger group

If every engine that reads your tables runs inside Cloudera, HiveCatalog is simpler. Keep the design note: which catalog serves which engine, who owns each client identity, and when it is next reviewed. Tables that are shared this way also need regular care, so pair the rollout with the maintenance runbook.

A first engagement

Duczer East offers a catalog and sharing assessment: we map which engines need which tables, review the Ranger policies each client identity would inherit, test the calls above on your cluster and hand back a design note and rollout plan.

Frequently asked questions

What is the Cloudera Iceberg REST catalog?

It is a server-side catalog based on the Apache Iceberg REST specification. It runs inside the Hive Metastore, uses Knox OAuth tokens for sign-in and Ranger policies for authorization, and lets REST-enabled engines create, list, update and read Iceberg tables.

Which engines can use it?

Cloudera lists Spark, Trino, Snowflake, AWS Athena, AWS EMR Spark and Databricks as REST-enabled engines.

Does it support Ranger row filtering and column masking?

Cloudera states that Ranger column masking and row-level filtering are not supported on the REST catalog path. Ranger policies still control which tables an engine can access.

Do we need the REST catalog for Hive, Impala and Spark inside Cloudera?

No. Those engines can use HiveCatalog through the Hive Metastore. Add the REST catalog when an engine outside Cloudera needs the same tables.

Which calls does the Cloudera REST catalog document for data sharing?

Cloudera documents read calls: list namespaces, list tables and load table, plus a token call that exchanges a client ID and secret for an access token. Data sharing is read-only and enforced through SELECT in Ranger.

Why do external reads fail with HTTP 403?

Cloudera lists a known issue where the client does not request vended credentials, so it falls back to its own credentials. The workaround is to send the X-Iceberg-Access-Delegation: vended-credentials header.

Authored by

Co-Founder and Managing Partner, Duczer East

David deBoisblanc is co-founder of Duczer East and a digital transformation and innovation leader in data-centric AI, agentic systems, and enterprise integration. He shapes intent-driven AI solutions that modernize how organizations use data, drawing on deep experience with Cloudera and complex enterprise integration landscapes.

Newsletter

The Practitioner's Briefing

Senior-level insights on agentic AI, data engineering and enterprise integration, delivered to your inbox.

One email when there is something worth reading. Unsubscribe any time.

Let's Talk

Want to discuss the ideas raised here?

Tell us what you are working on. A senior practitioner replies, and only your email is required.

Get a quote