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.
| Question | Answer 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 credentials | The 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.
- The owner generates a token in Knox token management. The token ID becomes the CLIENT_ID and the passcode becomes the CLIENT_SECRET.
- Token generation creates a Ranger role and a Ranger group. Knox supplies the group as a virtual group for that client.
- 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.
- The owner gives the CLIENT_ID and CLIENT_SECRET to the client.
- 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.
| Operation | Method | Path after the gateway and data lake name |
|---|---|---|
| Get a token | POST | /cdp-datashare-access/knoxtoken/api/v2/token |
| List namespaces | GET | /cdp-datashare-access/iceberg-rest/v1/namespaces |
| List tables | GET | /cdp-datashare-access/iceberg-rest/v1/namespaces/<namespace>/tables |
| Load a table | GET | /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
- Confirm your Runtime release and that the REST catalog service is enabled on the Hive Metastore.
- Decide which tables to share and set Ranger policies for the identity each external engine will use.
- Create a Knox token for that identity.
- Test the three calls above with curl, and confirm the load-table response returns storage credentials.
- Point the engine at the catalog URL with the token, and run a read-only query as a test.
- 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.
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 releaseTreat 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.
| Issue | What you see | Cloudera's workaround |
|---|---|---|
| Client does not ask for vended credentials | Reads fall back to the client's own credentials and fail with HTTP 403 | Send the X-Iceberg-Access-Delegation: vended-credentials header, using a client that sets it |
| Port clash with the YARN ResourceManager | On premises clusters with TLS, namespace calls return HTTP 307 or fail | Move the ResourceManager HTTPS port |
| Client ID and secret without a data share | The client can still read namespace and database metadata | Review default Ranger policies, remove broad public access, add deny rules |
| Region not set for cloud credentials | Cross-region access can fail | Set the client region in the Hive Metastore configuration |
| Snowflake and Azure vended credentials | Snowflake cannot parse the credentials | Use 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
| Situation | Use |
|---|---|
| Hive, Impala, Spark and Flink inside the cluster | HiveCatalog through the Hive Metastore |
| A second platform must read the same tables without a copy | REST catalog |
| The shared table depends on masking or row filters for safety | Share a prepared view or copy, not the base table |
| A partner needs a short-lived, revocable grant | One 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.




