Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[Bug] [start] v2.3.4 can't startup in Linux environment #6380

Closed
2 of 3 tasks
cs-charles opened this issue Feb 23, 2024 · 5 comments
Closed
2 of 3 tasks

[Bug] [start] v2.3.4 can't startup in Linux environment #6380

cs-charles opened this issue Feb 23, 2024 · 5 comments
Assignees
Labels

Comments

@cs-charles
Copy link

cs-charles commented Feb 23, 2024

Search before asking

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

What happened

After installing the seatunnel and executing the install-plugin.sh script in the bin directory to install the plugin, when running the seatunnel-cluster.sh script, an error is reported: "Cannot find or load main class."

SeaTunnel Version

v2.3.4

SeaTunnel Config

without any configuration changes made.

Running Command

bin/seatunnel-cluster.sh

Error Exception

...
+ '[' -n $'\r' ']'
+ JAVA_OPTS=' -Dseatunnel.config=/data/seatunnel/backend/apache-seatunnel-2.3.4/config/seatunnel.yaml -Dhazelcast.config=/data/seatunnel/backend/apache-seatunnel-2.3.4/config/hazelcast.yaml -Dlog4j2.contextSelector=org.apache.logging.log4j.core.async.AsyncLoggerContextSelector -Dlog4j2.configurationFile=/data/seatunnel/backend/apache-seatunnel-2.3.4/config/log4j2.properties -Dseatunn'-XX:MaxMetaspaceSize=2geatunnel/dump/zeta-servernnel-2.3.4/logs -Dseatunnel.logs.file_name=seatunnel-engine-server
+ read line
 == \#* ]]1GC
+ read line
+ [[ '' == true ]]
+ java -Dseatunnel.config=/data/seatunnel/backend/apache-seatunnel-2.3.4/config/seatunnel.yaml -Dhazelcast.config=/data/seatunnel/backend/apache-seatunnel-2.3.4/config/hazelcast.yaml -Dlog4j2.contextSelector=org.apache.logging.log4j.core.async.AsyncLoggerContextSelector -Dlog4j2.configurationFile=/data/seatunnel/backend/apache-seatunnel-2.3.4/config/log4j2.properties -Dseatunnel.logs.path=/data/seatunnel/backend/apache-seatunnel-2.3.4/logs -Dseatunnel.logs.file_name=seatunnel-engine-server $'\r' $'-Xms2g\r' $'-Xmx2g\r' $'\r' $'-XX:+HeapDumpOnOutOfMemoryError\r' $'-XX:HeapDumpPath=/tmp/seatunnel/dump/zeta-server\r' $'\r' $'-XX:MaxMetaspaceSize=2g\r' $'\r' -cp '/data/seatunnel/backend/apache-seatunnel-2.3.4/lib/*:/data/seatunnel/backend/apache-seatunnel-2.3.4/starter/seatunnel-starter.jar' org.apache.seatunnel.core.starter.seatunnel.SeaTunnelServer
Error: Cannot find or load main class.

Zeta or Flink or Spark Version

No response

Java or Scala Version

java version "1.8.0_401"
Java(TM) SE Runtime Environment (build 1.8.0_401-b10)
Java HotSpot(TM) 64-Bit Server VM (build 25.401-b10, mixed mode)

Screenshots

No

Are you willing to submit PR?

  • Yes I am willing to submit a PR!

Code of Conduct

@cs-charles cs-charles added the bug label Feb 23, 2024
@Hisoka-X
Copy link
Member

Thanks for report this. We are try to fixing it. You can use source code to compile binary package at now.

@davidzollo davidzollo changed the title [Bug] [start] v2.3.4在linux下无法正常启动 [Bug] [start] v2.3.4 can't startup in Linux environment Feb 25, 2024
@littlebear-xbz
Copy link

windows characters and linux characters problem, replace the bin/*.sh file and the file under config with linux characters, it will run ok

@cqutwangyu
Copy link
Contributor

please see #6285

@Carl-Zhou-CN
Copy link
Member

May be used temporarily, https://dist.apache.org/repos/dist/dev/seatunnel/2.3.4/
But he's temporary, waiting for a new release

@Carl-Zhou-CN
Copy link
Member

@cs-charles hi ,the issue has been resolved, please re-download the distribution

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

5 participants