zengqinchris commented on issue #4741:
URL: 
https://github.com/apache/incubator-seatunnel/issues/4741#issuecomment-1548845974

   > Can you provide the complete JAVA_OPTS?
   
   
![image](https://github.com/apache/incubator-seatunnel/assets/44901627/4e6bb16d-95a6-4e7d-8c5b-e92aefd63d0b)
   
   `JAVA_OPTS:  
-Dseatunnel.config=/home/hadoop/apache-seatunnel-incubating-2.3.2-SNAPSHOT/config/seatunnel.yaml
 
-Dhazelcast.config=/home/hadoop/apache-seatunnel-incubating-2.3.2-SNAPSHOT/config/hazelcast.yaml
 
-Dlog4j2.contextSelector=org.apache.logging.log4j.core.async.AsyncLoggerContextSelector
 
-Dlog4j2.configurationFile=/home/hadoop/apache-seatunnel-incubating-2.3.2-SNAPSHOT/config/log4j2.properties
 -Dseatunnel.logs.path=/home/hadoop/apache- 
-XX:+HeapDumpOnOutOfMemoryErrorrcent=30 
-Dseatunnel.logs.file_name=seatunnel-engine-server
   
   这个是shell打印的执行命令,如果单独拷贝出来执行,正常启动集群,如果在seatunnel-cluster.sh脚本里执行,就报错
   java  
-Dseatunnel.config=/home/hadoop/apache-seatunnel-incubating-2.3.2-SNAPSHOT/config/seatunnel.yaml
 
-Dhazelcast.config=/home/hadoop/apache-seatunnel-incubating-2.3.2-SNAPSHOT/config/hazelcast.yaml
 
-Dlog4j2.contextSelector=org.apache.logging.log4j.core.async.AsyncLoggerContextSelector
 
-Dlog4j2.configurationFile=/home/hadoop/apache-seatunnel-incubating-2.3.2-SNAPSHOT/config/log4j2.properties
 -Dseatunnel.logs.path=/home/hadoop/apache-seatun -cp 
/home/hadoop/apache-seatunnel-incubating-2.3.2-SNAPSHOT/lib/*:/home/hadoop/apache-seatunnel-incubating-2.3.2-SNAPSHOT/starter/seatunnel-starter.jar
 org.apache.seatunnel.core.starter.seatunnel.SeaTunnelServer
   
   
   Error: Could not find or load main class
   `


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: [email protected]

For queries about this service, please contact Infrastructure at:
[email protected]

Reply via email to