Hive Iceberg REST Catalog client
Communicate with external Iceberg catalog services using the standard REST Catalog protocol for flexible metadata management.
Overview
Hive supports the Iceberg REST Catalog client, enabling communication with external Iceberg catalog services. The REST Catalog client is the recommended approach for catalog communication when you need to interact with remote or external catalog backends.
By using the REST Catalog client, you can integrate Hive with external metadata management systems and centralized catalog services that implement the Iceberg REST Catalog protocol.
Key capabilities
The Iceberg REST Catalog client feature provides the following capabilities:
- Direct communication with external Iceberg catalog services
- Support for the standard Iceberg REST Catalog protocol
- Compatibility with external REST catalog implementations, such as Gravitino
- OAuth2 authentication support for secure catalog access
Catalog implementations
Hive uses a MetadataProvider interface with two implementations for catalog management:
- HiveCatalog
- Manages Iceberg tables stored locally in the Hive Metastore using local file system or HDFS storage.
- RestCatalog
- Communicates with remote REST-based catalog services. Use this implementation to interact with external catalog backends that implement the Iceberg REST Catalog protocol.
Use cases
Consider using the Iceberg REST Catalog in the following scenarios:
- Integration with centralized metadata management systems.
- Multi-engine environments where multiple query engines access the same Iceberg tables.
- Organizations using external catalog services that implement the REST Catalog protocol.
- HMS REST Catalog Server also provides OAuth2 based authentication.
Hive Iceberg REST Catalog availability
The Iceberg REST Catalog feature for Hive is available starting with Cloudera Runtime 7.3.2 SP1. This feature enables Hive to connect to and work with external Iceberg catalog services that implement the REST Catalog protocol.
