This is an automated email from the ASF dual-hosted git repository. github-bot pushed a commit to branch cherry-pick-4082da4f-to-branch-1.2 in repository https://gitbox.apache.org/repos/asf/gravitino.git
commit f67b147a43b5a5296f6f8c1fbf565da5f280e491 Author: Yuhui <[email protected]> AuthorDate: Wed Mar 11 07:50:48 2026 +0800 [#10349] fix(trino-connector): Remove unrecognized JVM option GCLockerRetryAllocationCount for Trino 478+ (#10351) ### What changes were proposed in this pull request? Remove the `-XX:GCLockerRetryAllocationCount=32` and related JVM options from `dev/docker/trino/conf/jvm.config`, as this option was removed in newer JDK versions. ### Why are the changes needed? Trino 478+ fails to start with the following error: ``` Unrecognized VM option 'GCLockerRetryAllocationCount=32' Error: Could not create the Java Virtual Machine. ``` Fix: #10349 ### Does this PR introduce _any_ user-facing change? No. ### How was this patch tested? Manually verified Trino starts successfully after removing the unrecognized JVM option. --- dev/docker/trino/conf/jvm.config | 3 --- 1 file changed, 3 deletions(-) diff --git a/dev/docker/trino/conf/jvm.config b/dev/docker/trino/conf/jvm.config index 57b0e104dc..9c290d8b1c 100644 --- a/dev/docker/trino/conf/jvm.config +++ b/dev/docker/trino/conf/jvm.config @@ -28,8 +28,5 @@ -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
