Supported features of Hive Iceberg REST catalog client
Apache Hive Iceberg REST catalog client lists supported communication protocols, authentication methods, and compatible external catalog implementations for connecting Hive to external Apache Iceberg REST catalogs.
Overview
The Hive Metastore (HMS) Iceberg REST catalog client acts as an adapter that implements the IMetaStoreClient interface. The HiveRESTCatalogClient class translates internal Hive metadata calls into standard HTTP or HTTPS requests that follow the Iceberg REST catalog OpenAPI specification.
Supported communication protocols
The REST catalog client connects to external Iceberg REST catalog endpoints by using the following protocols:
- HTTP - Connects to local network catalog services over unencrypted connections (for example, http://www.example.com:8080).
- HTTPS - Connects to secure catalog services over encrypted connections (for example, https://www.example.com:443).
Supported authentication mechanisms
The Hive Iceberg REST catalog client supports the following authentication options:
- OAuth2 authentication - Authenticates Hive with the REST catalog service by using an OAuth2 token endpoint and client credentials.
- No authentication - Connects Hive to an unsecured REST catalog endpoint without passing authentication credentials.
Compatible external catalogs
The Iceberg REST catalog client validates compatibility with external catalog engines that implement the Iceberg REST API specification, including the following services:
- Apache Gravitino - Open-source, unified metadata lake engine that manages Iceberg, Hive, and relational database catalogs.
- Apache Polaris - Open-source Iceberg REST catalog that provides OAuth2 authentication and access control for Iceberg tables.
The client supports any catalog service that implements the Iceberg REST Catalog specification. Cloudera validates the client with the catalog services listed above.
REST Catalog protocol
Hive Iceberg REST catalog client communicates using the Apache Iceberg REST Catalog API. It uses HTTP endpoints and JSON payloads for catalog operations, such as listing namespaces, creating and loading tables, updating metadata, and committing changes.
Configure the client to connect to a service that implements this API, such as Apache Gravitino or an Iceberg REST catalog backed by Hive Metastore. If the server routes or semantics differ from the specification, Hive might fail during data definition language (DDL) operations, metadata refreshes, or commits.
