seatunnel icon indicating copy to clipboard operation
seatunnel copied to clipboard

Error: VM option 'UseG1GC' is experimental and must be enabled via -XX:+UnlockExperimentalVMOptions

Open Twzt opened this issue 9 months ago • 2 comments

Search before asking

  • [X] I had searched in the issues and found no similar issues.

What happened

seatunnel-2.3.5集群模式在arm服务器上无法启动 服务器:Linux ky10h.aarch64 seatunnel: 2.3.5 jdk: 1.8.0_333

SeaTunnel Version

2.3.5

SeaTunnel Config

jvm_options:

-Xms2g
-Xmx2g

# JVM Dump
-XX:+HeapDumpOnOutOfMemoryError
-XX:HeapDumpPath=/tmp/seatunnel/dump/zeta-server

# Metaspace
-XX:MaxMetaspaceSize=2g

# G1GC
-XX:+UseG1GC

Running Command

./seatunnel-cluster.sh

Error Exception

Error: VM option 'UseG1GC' is experimental and must be enabled via -XX:+UnlockExperimentalVMOptions.
Error: Could not create the Java Virtual Machine.
Error: A fatal exception has occurred. Program will exit.

Zeta or Flink or Spark Version

No response

Java or Scala Version

java 1.8.0_333

Screenshots

微信图片_20240511153120

Are you willing to submit PR?

  • [ ] Yes I am willing to submit a PR!

Code of Conduct

Twzt avatar May 11 '24 07:05 Twzt

Can you add -XX:+UnlockExperimentalVMOptions to jvm_options file to test again;

EricJoy2048 avatar May 15 '24 07:05 EricJoy2048

i tried add this option (-XX:+UnlockExperimentalVMOptions) in jvm_options  and jvm_client_options,but it  also doesn't woker, but add it in seatunnel-cluster.sh ,it can work

------------------ 原始邮件 ------------------ 发件人: @.>; 发送时间: 2024年5月15日(星期三) 下午3:56 收件人: @.>; 抄送: @.>; @.>; 主题: Re: [apache/seatunnel] Error: VM option 'UseG1GC' is experimental and must be enabled via -XX:+UnlockExperimentalVMOptions (Issue #6841)

Can you add -XX:+UnlockExperimentalVMOptions to jvm_options file to test again;

— Reply to this email directly, view it on GitHub, or unsubscribe. You are receiving this because you authored the thread.Message ID: @.***>

Twzt avatar May 15 '24 08:05 Twzt

This issue has been automatically marked as stale because it has not had recent activity for 30 days. It will be closed in next 7 days if no further activity occurs.

github-actions[bot] avatar Jun 15 '24 00:06 github-actions[bot]