Skip to main content

Where the files are kept
and how the tables are found.

S3-compatible storage keeps the table files. The Hive Metastore locates the Iceberg tables, and the Delta Lake tables are found by the name registered in it or by their path in storage.

S3-compatible storage​

The table files are kept in Apache Ozone, accessed through the S3 API by the components that read and write the tables.

Default

Ozone as storage

S3-compatible object storage. Without Kerberos, the chart default, any key pair is accepted and ozone-s3-credentials does not exist. With Kerberos and the security configuration enabled, each S3 call is validated by Ozone itself.

Configurable

Another S3 endpoint

The engines and the maintenance jobs can point to another S3-compatible storage, such as MinIO, in the configuration of each component.

Configurable

Credentials in a Secret

The maintenance jobs read the storage credentials from the s3-credentials Secret (keys access-key and secret-key), in the release namespace.

Where Spark and Trino find the tables​

Iceberg tables are located through the Hive Metastore. Delta Lake tables, through the name registered in the Hive Metastore or through their path in storage.

Iceberg catalog

The Hive Metastore is the default Iceberg catalog in the maintenance jobs (spark.sql.catalog.iceberg.type=hive), which locate the tables through it.

Trino catalogs

The default Trino catalogs are tpch, tpcds and memory. With the hive and iceberg catalogs configured, Trino queries the tables registered in the Hive Metastore and accesses their files in the S3 storage.

Spark

The Spark image includes the Iceberg and Delta Lake libraries and the S3A connector. The catalog and the extensions of each format are enabled in the Spark chart configuration, one block per format.

Delta Lake tables

Referenced by the name registered in the Hive Metastore (database.table) or by their path in storage.

Situation: an orders table written by Spark in the iceberg catalog needs to reach a dashboard in Superset.

What TDP does: with the iceberg catalog configured in Trino, the table appears in Trino with the same name.

Superset automatically imports the connection to Trino when this option is enabled.

Effect: the dashboard queries, through Trino, the same table written by Spark, read from the files in the S3 storage.

Hive Metastore

How the catalog works and how to protect the metadata database: Hive Metastore.

See also​