Skip to content

Setup Iceberg in Trino

Before you begin, review the deployment steps for Trino. For initial setup, see Setup for Access Management for Trino for initial setup instructions.

Update values.yaml File

  1. Navigate to your Trino plugin directory:

    Bash
    cd ~/privacera-trino-plugin
    

  2. Open the values.yaml file for editing:

    Bash
    vi values.yaml
    

  3. Add the Iceberg catalog configuration to your values.yaml file:

    values.yaml
    catalogs:
      iceberg: |
        connector.name=iceberg
        iceberg.catalog.type=glue
        hive.metastore.glue.region=us-east-1
        hive.metastore.glue.endpoint-url=https://glue.us-east-1.amazonaws.com
        hive.metastore.glue.default-warehouse-dir=s3://your-bucket/warehouse/
        iceberg.register-table-procedure.enabled=true
        iceberg.security=ALLOW_ALL
        fs.native-s3.enabled=true
    

Deploy

After you update values.yaml, deploy your Trino cluster. For the Helm upgrade command, see Install Trino on Kubernetes Cluster section in the Setup page.

Validate