Supported features of Impala Iceberg REST Catalog
Configuration properties, authentication options, and limitations for connecting Impala to Iceberg REST Catalog servers.
REST Catalog configuration
REST Catalog configuration in Impala uses Java property files that specify connection details and authentication settings. Configuration files must be placed in a directory specified by the --catalog_config_dir flag.
Configuration files use the standard Java Properties format, with key=value pairs. Each file represents a separate REST Catalog.
Required properties
The following properties are required in every REST Catalog configuration file:
| Property | Value |
|---|---|
connector.name |
Must be set to iceberg |
iceberg.catalog.type |
Must be set to rest |
uri or iceberg.rest-catalog.uri |
Must be set to the REST Catalog endpoint URL |
Example:
connector.name=iceberg
iceberg.catalog.type=rest
uri=http://rest-catalog-server:9084
Optional properties
You can add the following optional properties to a REST Catalog configuration file:
| Setting | Property | Example |
|---|---|---|
| Warehouse location | warehouse or iceberg.rest-catalog.warehouse |
warehouse=hdfs://namenode:8020/warehouse/iceberg |
| Catalog prefix | prefix or iceberg.rest-catalog.prefix |
prefix=my_catalog |
Authentication
The Iceberg REST Catalog supports OAuth2 authentication. To enable it, set the security type to OAUTH2 and provide the client credential and the OAuth2 token endpoint:
iceberg.rest-catalog.security=OAUTH2
iceberg.rest-catalog.oauth2.credential=client_secret
iceberg.rest-catalog.oauth2.server-uri=http://localhost:7070/realms/lakekeeper-realm/protocol/openid-connect/token
Environment variable substitution
Impala supports environment variable substitution in .properties files to securely manage credentials and environment-specific settings. This feature is particularly useful for storing secrets outside of configuration files.
Syntax:
${ENV:VARIABLE_NAME}
Example:
iceberg.rest-catalog.oauth2.credential=${ENV:OAUTH_CLIENT_SECRET}
connection-password=${ENV:DB_PASSWORD}
Requirements:
- Variable names must match the
[a-zA-Z][a-zA-Z0-9_-]*pattern. - Environment variables must be set before starting Impala. Undefined variables will cause the Impala startup to fail.
Ambiguous table names
If a table with the same name exists in multiple catalogs, queries will fail with an ambiguity error. The error message will indicate which catalogs contain the table.
Limitations and unsupported features
The following Iceberg REST Catalog features are not currently supported:
- Vended Credentials
- The
vended-credentials-enabledproperty must be set tofalse. Impala does not support delegated credential management from the REST Catalog server. - User Sessions
- Only
NONEsession type is supported. Per-user session isolation is not available. - Nested Namespaces
- The
nested-namespace-enabledproperty must be set tofalse. Only flat namespace hierarchies are supported. - Write Operations
- Write operations such as
INSERT,UPDATE,DELETE, orMERGEare not supported. - DDL Operations
- DDL operations such as
CREATE,ALTER, orDROPare not supported. - Views
- Iceberg views are not supported through the REST Catalog.
