Skip to main content
Version: 97.1

Iceberg configuration

Factor House connects to Apache Iceberg REST catalogs using environment variables. Each variable maps to a standard Iceberg catalog property, so you can configure a catalog the same way you would for any Iceberg client.

Quick start​

Configure catalogs by listing their names in a comma separate string in ICEBERG_CATALOG_NAMES, then configure each catalog with environment variables with the catalog name as the suffix. The only required property is the catalog uri.

ICEBERG_CATALOG_NAMES=demo
ICEBERG_CATALOG_URI_DEMO=http://localhost:8181

Variable naming​

VariableDescriptionRequired
ICEBERG_CATALOG_NAMESComma-separated list of catalog names, for example demo,factorhouse-devYes

Every other variable follows the pattern ICEBERG_CATALOG_<PROPERTY>_<NAME>:

  • <PROPERTY> is the Iceberg property name in upper case, with . and - replaced by _. For example, rest.signing-region becomes REST_SIGNING_REGION.
  • <NAME> is the catalog name in upper case, with - replaced by _. For example, the catalog factorhouse-dev becomes FACTORHOUSE_DEV.

Putting these together, the signing region for the factorhouse-dev catalog is set with ICEBERG_CATALOG_REST_SIGNING_REGION_FACTORHOUSE_DEV.

Properties are configured per catalog, so you can connect to several catalogs, each with different settings:

ICEBERG_CATALOG_NAMES=demo,other
ICEBERG_CATALOG_URI_DEMO=http://localhost:8181
ICEBERG_CATALOG_TOKEN_EXCHANGE_ENABLED_DEMO=false
ICEBERG_CATALOG_URI_OTHER=http://localhost:8182
note

Only the properties listed on this page are supported. Any other ICEBERG_CATALOG_* variable is ignored.

info

Factor House 97.1 supports AWS only. Properties for other cloud providers, such as Google Cloud Storage and Azure Data Lake Storage, are not supported and are ignored. Support for Google Cloud and Azure is planned for later releases.

tip

When you deploy with Kubernetes, pass these variables with --set env.XYZ or a ConfigMap, as described in Deploy Factor House with Kubernetes. Supply credentials and tokens as sensitive environment variables.

Property reference​

The tables below list every supported property. Replace <NAME> with the upper-cased catalog name. Where a default is shown as -, Factor House does not set a value and the Iceberg default applies.

Catalog​

VariableIceberg propertyDescriptionDefault
ICEBERG_CATALOG_URI_<NAME>uriRequired. The URI of the Iceberg REST catalog-
ICEBERG_CATALOG_WAREHOUSE_<NAME>warehouseWarehouse location or identifier, passed to the catalog on connection-
ICEBERG_CATALOG_IO_IMPL_<NAME>io-implClass used to read table metadata and data files, for example org.apache.iceberg.aws.s3.S3FileIO-
ICEBERG_CATALOG_CATALOG_IMPL_<NAME>catalog-implCustom catalog implementation class-
ICEBERG_CATALOG_CLIENTS_<NAME>clientsSize of the client pool-
ICEBERG_CATALOG_CACHE_ENABLED_<NAME>cache-enabledWhether the catalog caches table metadata-
ICEBERG_CATALOG_CACHE_EXPIRATION_INTERVAL_MS_<NAME>cache.expiration-interval-msHow long, in milliseconds, cached table metadata is kept-
ICEBERG_CATALOG_METRICS_REPORTER_IMPL_<NAME>metrics-reporter-implCustom metrics reporter implementation class-
ICEBERG_CATALOG_UNIQUE_TABLE_LOCATION_<NAME>unique-table-locationWhether tables are created with a unique location-
ICEBERG_CATALOG_ENCRYPTION_KMS_IMPL_<NAME>encryption.kms-implKey management service implementation class for encrypted tables-

REST catalog​

VariableIceberg propertyDescriptionDefault
ICEBERG_CATALOG_REST_TABLE_CACHE_EXPIRE_AFTER_WRITE_MS_<NAME>rest-table-cache.expire-after-write-msHow long, in milliseconds, a loaded table is cached after it was last written to the cache-
ICEBERG_CATALOG_REST_TABLE_CACHE_MAX_ENTRIES_<NAME>rest-table-cache.max-entriesMaximum number of tables held in the REST table cache-
ICEBERG_CATALOG_REST_PAGE_SIZE_<NAME>rest-page-sizePage size requested when listing namespaces and tables-
ICEBERG_CATALOG_SCAN_PLANNING_MODE_<NAME>scan-planning-modeWhether scans are planned by the client or by the catalog-

Authentication​

VariableIceberg propertyDescriptionDefault
ICEBERG_CATALOG_REST_AUTH_TYPE_<NAME>rest.auth.typeAuthentication type: none, basic, oauth2 or sigv4-
ICEBERG_CATALOG_REST_AUTH_BASIC_USERNAME_<NAME>rest.auth.basic.usernameUsername for basic authentication-
ICEBERG_CATALOG_REST_AUTH_BASIC_PASSWORD_<NAME>rest.auth.basic.passwordPassword for basic authentication-
ICEBERG_CATALOG_REST_AUTH_SIGV4_DELEGATE_AUTH_TYPE_<NAME>rest.auth.sigv4.delegate-auth-typeAuthentication type used alongside SigV4 request signing, for example none-

OAuth2​

VariableIceberg propertyDescriptionDefault
ICEBERG_CATALOG_CREDENTIAL_<NAME>credentialClient credential in the form client_id:client_secret, exchanged for a token-
ICEBERG_CATALOG_TOKEN_<NAME>tokenA bearer token sent with every request, used instead of credential-
ICEBERG_CATALOG_OAUTH2_SERVER_URI_<NAME>oauth2-server-uriOAuth2 token endpoint-
ICEBERG_CATALOG_SCOPE_<NAME>scopeOAuth2 scope requested with the token-
ICEBERG_CATALOG_TOKEN_EXCHANGE_ENABLED_<NAME>token-exchange-enabledWhether to use OAuth2 token exchange. Set to false for servers that do not support it-
ICEBERG_CATALOG_TOKEN_REFRESH_ENABLED_<NAME>token-refresh-enabledWhether to refresh the token before it expires-
ICEBERG_CATALOG_TOKEN_EXPIRES_IN_MS_<NAME>token-expires-in-msToken lifetime, in milliseconds, assumed when the server does not return one-
ICEBERG_CATALOG_AUDIENCE_<NAME>audienceOAuth2 audience for token exchange-
ICEBERG_CATALOG_RESOURCE_<NAME>resourceOAuth2 resource for token exchange-

AWS SigV4 signing​

Use these properties for catalogs that authenticate with AWS Signature Version 4, such as AWS Glue and Amazon S3 Tables.

VariableIceberg propertyDescriptionDefault
ICEBERG_CATALOG_REST_SIGV4_ENABLED_<NAME>rest.sigv4-enabledWhether to sign requests with SigV4-
ICEBERG_CATALOG_REST_SIGNING_REGION_<NAME>rest.signing-regionAWS region used to sign requests-
ICEBERG_CATALOG_REST_SIGNING_NAME_<NAME>rest.signing-nameAWS service name used to sign requests, for example glue or s3tables-
ICEBERG_CATALOG_REST_ACCESS_KEY_ID_<NAME>rest.access-key-idStatic access key ID used to sign requests-
ICEBERG_CATALOG_REST_SECRET_ACCESS_KEY_<NAME>rest.secret-access-keyStatic secret access key used to sign requests-
ICEBERG_CATALOG_REST_SESSION_TOKEN_<NAME>rest.session-tokenSession token for temporary credentials-

AWS client​

VariableIceberg propertyDescriptionDefault
ICEBERG_CATALOG_CLIENT_REGION_<NAME>client.regionAWS region for AWS clients created by the catalog-
ICEBERG_CATALOG_CLIENT_CREDENTIALS_PROVIDER_<NAME>client.credentials-providerClass of the AWS credentials provider-
ICEBERG_CATALOG_CLIENT_FACTORY_<NAME>client.factoryAWS client factory class, for example org.apache.iceberg.aws.AssumeRoleAwsClientFactory-
ICEBERG_CATALOG_GLUE_ACCOUNT_ID_<NAME>glue.account-idAWS account ID that owns the Glue Data Catalog, for cross-account access-
ICEBERG_CATALOG_CLIENT_ASSUME_ROLE_ARN_<NAME>client.assume-role.arnARN of the IAM role to assume-
ICEBERG_CATALOG_CLIENT_ASSUME_ROLE_REGION_<NAME>client.assume-role.regionAWS region of the STS endpoint used to assume the role-
ICEBERG_CATALOG_CLIENT_ASSUME_ROLE_SESSION_NAME_<NAME>client.assume-role.session-nameSession name for the assumed role-
ICEBERG_CATALOG_CLIENT_ASSUME_ROLE_EXTERNAL_ID_<NAME>client.assume-role.external-idExternal ID presented when assuming the role-
ICEBERG_CATALOG_CLIENT_ASSUME_ROLE_TIMEOUT_SEC_<NAME>client.assume-role.timeout-secDuration, in seconds, of the assumed role session-

Amazon S3​

Factor House reads table metadata, manifests and manifest lists from object storage. Configure these properties alongside io-impl when your catalog does not vend storage credentials.

The IAM role or user that Factor House uses also needs permission to read your tables manifests and data from Amazon S3, and to decrypt them if they are encrypted with AWS KMS. See AWS S3 and KMS.

VariableIceberg propertyDescriptionDefault
ICEBERG_CATALOG_S3_REGION_<NAME>s3.regionAWS region of the S3 bucket-
ICEBERG_CATALOG_S3_ENDPOINT_<NAME>s3.endpointCustom S3 endpoint, for S3-compatible storage such as MinIO or LocalStack-
ICEBERG_CATALOG_S3_PATH_STYLE_ACCESS_<NAME>s3.path-style-accessUse path-style rather than virtual-host-style S3 URLs. Required by most S3-compatible storage-
ICEBERG_CATALOG_S3_ACCESS_KEY_ID_<NAME>s3.access-key-idStatic access key ID for S3-
ICEBERG_CATALOG_S3_SECRET_ACCESS_KEY_<NAME>s3.secret-access-keyStatic secret access key for S3-
ICEBERG_CATALOG_S3_REMOTE_SIGNING_ENABLED_<NAME>s3.remote-signing-enabledDelegate S3 request signing to the catalog-

Examples​

AWS Glue​

ICEBERG_CATALOG_NAMES=my-catalog
ICEBERG_CATALOG_URI_MY_CATALOG=https://glue.us-east-1.amazonaws.com/iceberg
ICEBERG_CATALOG_IO_IMPL_MY_CATALOG=org.apache.iceberg.aws.s3.S3FileIO
ICEBERG_CATALOG_REST_SIGV4_ENABLED_MY_CATALOG=true
ICEBERG_CATALOG_REST_SIGNING_REGION_MY_CATALOG=us-east-1
ICEBERG_CATALOG_REST_SIGNING_NAME_MY_CATALOG=glue

AWS Glue cross-account access​

ICEBERG_CATALOG_NAMES=cross
ICEBERG_CATALOG_URI_CROSS=https://glue.us-east-1.amazonaws.com/iceberg
ICEBERG_CATALOG_GLUE_ACCOUNT_ID_CROSS=222222222222
ICEBERG_CATALOG_CLIENT_FACTORY_CROSS=org.apache.iceberg.aws.AssumeRoleAwsClientFactory
ICEBERG_CATALOG_CLIENT_ASSUME_ROLE_ARN_CROSS=arn:aws:iam::222222222222:role/factor-platform
ICEBERG_CATALOG_CLIENT_ASSUME_ROLE_REGION_CROSS=us-east-1
ICEBERG_CATALOG_CLIENT_ASSUME_ROLE_SESSION_NAME_CROSS=factor-platform
ICEBERG_CATALOG_CLIENT_ASSUME_ROLE_EXTERNAL_ID_CROSS=external-id
ICEBERG_CATALOG_CLIENT_ASSUME_ROLE_TIMEOUT_SEC_CROSS=900

Amazon S3 Tables​

ICEBERG_CATALOG_NAMES=s3tables-dev
ICEBERG_CATALOG_URI_S3TABLES_DEV=https://s3tables.us-east-1.amazonaws.com/iceberg
ICEBERG_CATALOG_WAREHOUSE_S3TABLES_DEV=arn:aws:s3tables:us-east-1:111111111111:bucket/tables
ICEBERG_CATALOG_REST_AUTH_TYPE_S3TABLES_DEV=sigv4
ICEBERG_CATALOG_REST_AUTH_SIGV4_DELEGATE_AUTH_TYPE_S3TABLES_DEV=none
ICEBERG_CATALOG_REST_SIGNING_NAME_S3TABLES_DEV=s3tables

Confluent Tableflow​

ICEBERG_CATALOG_NAMES=tableflow-dev
ICEBERG_CATALOG_URI_TABLEFLOW_DEV=https://tableflow.us-east-2.aws.confluent.cloud/iceberg/catalog
ICEBERG_CATALOG_CREDENTIAL_TABLEFLOW_DEV=key:secret
ICEBERG_CATALOG_OAUTH2_SERVER_URI_TABLEFLOW_DEV=https://tableflow.us-east-2.aws.confluent.cloud/iceberg/catalog/v1/oauth/tokens
ICEBERG_CATALOG_TOKEN_EXCHANGE_ENABLED_TABLEFLOW_DEV=false
ICEBERG_CATALOG_IO_IMPL_TABLEFLOW_DEV=org.apache.iceberg.aws.s3.S3FileIO
ICEBERG_CATALOG_S3_REMOTE_SIGNING_ENABLED_TABLEFLOW_DEV=true
ICEBERG_CATALOG_CLIENT_REGION_TABLEFLOW_DEV=us-east-2

Unity Catalog​

ICEBERG_CATALOG_NAMES=unity-dev
ICEBERG_CATALOG_URI_UNITY_DEV=http://unity:8080/api/2.1/unity-catalog/iceberg
ICEBERG_CATALOG_TOKEN_UNITY_DEV=token
ICEBERG_CATALOG_TOKEN_REFRESH_ENABLED_UNITY_DEV=false

Self-hosted REST catalog with S3-compatible storage​

ICEBERG_CATALOG_NAMES=demo
ICEBERG_CATALOG_URI_DEMO=http://localhost:8181/
ICEBERG_CATALOG_WAREHOUSE_DEMO=s3://demo/
ICEBERG_CATALOG_IO_IMPL_DEMO=org.apache.iceberg.aws.s3.S3FileIO
ICEBERG_CATALOG_S3_ENDPOINT_DEMO=http://localhost:4566
ICEBERG_CATALOG_S3_PATH_STYLE_ACCESS_DEMO=true
ICEBERG_CATALOG_S3_ACCESS_KEY_ID_DEMO=test
ICEBERG_CATALOG_S3_SECRET_ACCESS_KEY_DEMO=test
ICEBERG_CATALOG_CLIENT_REGION_DEMO=us-east-1