chunjun icon indicating copy to clipboard operation
chunjun copied to clipboard

chunjun master版本 按照文档 编译 然后运行 找不到主类

Open biandou1313 opened this issue 2 years ago • 4 comments

Search before asking

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

What happened

CHUNJUN_HOME is auto set
FLINK_HOME is /opt/flink/flink-1.12.2 HADOOP_HOME is /opt/hadoop/hadoop-2.7.4 ChunJun starting ... start command: /usr/java/jdk1.8.0_261/bin/java -cp /../lib/* com.dtstack.chunjun.client.Launcher -job /opt/flinkx/flinkx-1.15/job/test111.json -mode yarn-per-job -jobType sync -chunjunDistDir -flinkConfDir /opt/flink/flink-1.12.2/conf -flinkLibDir /opt/flink/flink-1.12.2/lib -hadoopConfDir /opt/hadoop/hadoop-2.7.4/etc/hadoop 错误: 找不到或无法加载主类 ....lib.debug

What you expected to happen

Uploading image.png…

How to reproduce

image

Anything else

image

Version

master

Are you willing to submit PR?

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

Code of Conduct

biandou1313 avatar Aug 15 '22 00:08 biandou1313

我们目前没有1.15版本呐。。

FlechazoW avatar Aug 15 '22 02:08 FlechazoW

我们目前没有1.15版本呐。。

master分支

biandou1313 avatar Aug 15 '22 02:08 biandou1313

这个我也遇到过,我这边是通过bin/chunjun-local提交的,只能在bin目录下执行,可以看下submit.sh 脚本,他那个lib目录是写死了的 ../lib

ljx072115 avatar Aug 18 '22 07:08 ljx072115

CHUNJUN_HOME 这个环境变量需要手动设置一下

lvyanquan avatar Aug 19 '22 07:08 lvyanquan

This issue has been open too long for us to help, if you still have the same problem, please re-open an issue.

FlechazoW avatar Sep 29 '22 08:09 FlechazoW