From f7c64e508d7ebe8905ba65f04230af26dbac262c Mon Sep 17 00:00:00 2001 From: Marius Grama Date: Thu, 7 Apr 2022 10:57:46 +0200 Subject: [PATCH] Add delta catalog settings --- .../etc/catalog/delta.properties | 19 +++++++++++++++++++ .../trino-server-dev/etc/config.properties | 1 + 2 files changed, 20 insertions(+) create mode 100644 testing/trino-server-dev/etc/catalog/delta.properties diff --git a/testing/trino-server-dev/etc/catalog/delta.properties b/testing/trino-server-dev/etc/catalog/delta.properties new file mode 100644 index 000000000000..03aebd039b81 --- /dev/null +++ b/testing/trino-server-dev/etc/catalog/delta.properties @@ -0,0 +1,19 @@ +connector.name=delta-lake + +# Configuration appropriate for Hive as started by product test environment, e.g. +# testing/bin/ptl env up --environment multinode-minio-data-lake --without-trino +# On Mac, this additionally requires that you add " hadoop-master" to /etc/hosts +hive.metastore.uri=thrift://localhost:9083 + +# MinIO uses 9000 by default, but this change conflicts with Hadoop +hive.s3.endpoint=http://localhost:9080 +hive.s3.path-style-access=true +hive.s3.ssl.enabled=false +hive.s3.aws-access-key=minio-access-key +hive.s3.aws-secret-key=minio-secret-key + +# Fail-fast in development +hive.metastore.thrift.client.max-retry-time=1s +hive.s3.max-client-retries=1 +# Enable write support for all supported file systems in development +delta.enable-non-concurrent-writes=true diff --git a/testing/trino-server-dev/etc/config.properties b/testing/trino-server-dev/etc/config.properties index 3be40b7fab8d..ac207e125b69 100644 --- a/testing/trino-server-dev/etc/config.properties +++ b/testing/trino-server-dev/etc/config.properties @@ -31,6 +31,7 @@ plugin.bundles=\ ../../plugin/trino-resource-group-managers/pom.xml,\ ../../plugin/trino-password-authenticators/pom.xml, \ ../../plugin/trino-iceberg/pom.xml,\ + ../../plugin/trino-delta-lake/pom.xml,\ ../../plugin/trino-blackhole/pom.xml,\ ../../plugin/trino-cassandra/pom.xml,\ ../../plugin/trino-memory/pom.xml,\