-
Notifications
You must be signed in to change notification settings - Fork 2.2k
Description
Search before asking
- I had searched in the issues and found no similar issues.
What happened
- Start a cluster
call ./bin/seatunnel-cluster.cmd - edit
log4j2_client.propertiesto enable fileAppender - run a example
call ./bin/seatunnel.cmd -c .\config\v2.batch.config.template -m cluster
No log file been created under path SEATUNNEL_HOME/logs
Try debug , add below echo in seatunnel.cmd
echo "java %JAVA_OPTS% -cp %CLASS_PATH% %APP_MAIN% %args%"
java %JAVA_OPTS% -cp %CLASS_PATH% %APP_MAIN% %args%The output:
"java -Dhazelcast.client.config=F:\apache-seatunnel-2.3.9-bin\apache-seatunnel-2.3.9\config\hazelcast-client.yaml -Dseatunnel.config=F:\apache-seatunnel-2.3.9-bin\apache-seatunnel-2.3.9\config\seatunnel.yaml -Dhazelcast.config=F:\apache-seatunnel-2.3.9-bin\apache-seatunnel-2.3.9\config\hazelcast.yaml -Dlog4j2.isThreadContextMapInheritable=true -Dseatunnel.logs.file_name=seatunnel-starter-client-20250307-161522161522.07 -Xms256m -Xmx512m -XX:+HeapDumpOnOutOfMemoryError -XX:HeapDumpPath=/tmp/seatunnel/dump/zeta-client -cp F:\apache-seatunnel-2.3.9-bin\apache-seatunnel-2.3.9\lib\*;F:\apache-seatunnel-2.3.9-bin\apache-seatunnel-2.3.9\starter\seatunnel-starter.jar org.apache.seatunnel.core.starter.seatunnel.SeaTunnelClient -c .\config\v2.batch.config.template -m cluster"
There has no config about -Dlog4j2.configurationFile
SeaTunnel Version
2.3.9
SeaTunnel Config
default config
Running Command
call ./bin/seatunnel.cmd -c .\config\v2.batch.config.template -m clusterError Exception
No log file been created.
Zeta or Flink or Spark Version
No response
Java or Scala Version
No response
Screenshots
No response
Are you willing to submit PR?
- Yes I am willing to submit a PR!
Code of Conduct
- I agree to follow this project's Code of Conduct