Skip to content

World's most powerful open data catalog for building a high-performance, geo-distributed and federated metadata lake.

[#3683] fix(docker): Update Trino docker image to Trino-435 (#3694)

Yuhuib7080c5a99b6
diff --git a/dev/docker/trino/Dockerfile b/dev/docker/trino/Dockerfile
index 16790b0f4d..c2048bc9be 100644
--- a/dev/docker/trino/Dockerfile
+++ b/dev/docker/trino/Dockerfile
@@ -2,7 +2,7 @@
# Copyright 2023 Datastrato Pvt Ltd.
# This software is licensed under the Apache License version 2.
#
-FROM trinodb/trino:426
+FROM trinodb/trino:435
LABEL maintainer="[email protected]"
USER root
diff --git a/dev/docker/trino/conf/config.properties b/dev/docker/trino/conf/config.properties
index 3ae71fd85f..7c000784b5 100644
--- a/dev/docker/trino/conf/config.properties
+++ b/dev/docker/trino/conf/config.properties
@@ -14,3 +14,4 @@ coordinator = true
node-scheduler.include-coordinator = true
http-server.http.port = 8080
discovery.uri = http://0.0.0.0:8080
+catalog.management=dynamic
diff --git a/dev/docker/trino/conf/jvm.config b/dev/docker/trino/conf/jvm.config
index d0d26b071a..aa63d6a470 100644
--- a/dev/docker/trino/conf/jvm.config
+++ b/dev/docker/trino/conf/jvm.config
@@ -2,17 +2,20 @@
# Copyright 2023 Datastrato Pvt Ltd.
# This software is licensed under the Apache License version 2.
#
--server
--Xmx2G
--XX:-UseBiasedLocking
--XX:+UseG1GC
+-XX:InitialRAMPercentage=30
+-XX:MaxRAMPercentage=60
-XX:G1HeapRegionSize=32M
-XX:+ExplicitGCInvokesConcurrent
-XX:+HeapDumpOnOutOfMemoryError
--XX:+UseGCOverheadLimit
-XX:+ExitOnOutOfMemoryError
+-XX:-OmitStackTraceInFastThrow
-XX:ReservedCodeCacheSize=256M
+-XX:PerMethodRecompilationCutoff=10000
+-XX:PerBytecodeRecompilationCutoff=10000
-Djdk.attach.allowAttachSelf=true
-Djdk.nio.maxCachedBufferSize=2000000
+# Reduce starvation of threads by GClocker, recommend to set about the number of cpu cores (JDK-8192647)
+-XX:+UnlockDiagnosticVMOptions
+-XX:GCLockerRetryAllocationCount=32
-DHADOOP_USER_NAME=hive
-Dlog4j.configurationFile=/etc/trino/log4j2.properties
\ No newline at end of file
diff --git a/docs/docker-image-details.md b/docs/docker-image-details.md
index 1d91be51a7..98305096c6 100644
--- a/docs/docker-image-details.md
+++ b/docs/docker-image-details.md
@@ -67,7 +67,7 @@ Changelog
Changelog
-- trino:426-gravitino-0.5.1
+- trino:435-gravitino-0.5.1
- Based on Gravitino 0.5.1, you can know more information from 0.5.1 release notes.
@@ -186,6 +186,9 @@ You can use this image to test Trino.
Changelog
+- gravitino-ci-trino:0.1.6
+ - Upgrade trino:426 to trino:435
+
- gravitino-ci-trino:0.1.5
- Add check for the version of gravitino-trino-connector