solan30003 opened a new issue, #9435:
URL: https://github.com/apache/seatunnel/issues/9435

   ### Search before asking
   
   - [x] I had searched in the 
[issues](https://github.com/apache/seatunnel/issues?q=is%3Aissue+label%3A%22bug%22)
 and found no similar issues.
   
   
   ### What happened
   
   使用flink on yarn Application 
Mode模式时,生成的flink提交命令始终使用本地**/opt/program/seatunnel-2.3.10/starter/seatunnel-flink-15-starter.jar**,导致在yarn的容器内没有这个路径的文件,启动任务出错。
   
   ### SeaTunnel Version
   
   2.3.10
   
   ### SeaTunnel Config
   
   ```conf
   export FLINK_HOME=/opt/program/flink-1.16.3
   ```
   
   ### Running Command
   
   ```shell
   ./bin/start-seatunnel-flink-15-connector-v2.sh \
     --deploy-mode run-application \
     --master yarn-application \
     -yjm 1024 \
     -ytm 1024 \
     -ynm seatunnel-job \
     -yqu default \
     
-Dyarn.provided.lib.dirs="hdfs://rockyos-8/flink-1.16.3/lib;hdfs://rockyos-8/seatunnel-2.3.10/starter;hdfs://rockyos-8/seatunnel-2.3.10/lib;hdfs://rockyos-8/seatunnel-2.3.10/connectors;hdfs://rockyos-8/seatunnel-2.3.10/plugins"
 \
     --config hdfs://rockyos-8/seatunnel-2.3.10/config/v2.batch.config.my
   ```
   
   ### Error Exception
   
   ```log
   Execute SeaTunnel Flink Job: ${FLINK_HOME}/bin/flink run-application -m 
yarn-application -yjm 1024 -ytm 1024 -ynm seatunnel-job -yqu default 
-Dyarn.provided.lib.dirs=hdfs://rockyos-8/flink-1.16.3/lib;hdfs://rockyos-8/seatunnel-2.3.10/starter;hdfs://rockyos-8/seatunnel-2.3.10/lib;hdfs://rockyos-8/seatunnel-2.3.10/connectors;hdfs://rockyos-8/seatunnel-2.3.10/plugins
 -c org.apache.seatunnel.core.starter.flink.SeaTunnelFlink 
/opt/program/seatunnel-2.3.10/starter/seatunnel-flink-15-starter.jar --config 
hdfs://rockyos-8/seatunnel-2.3.10/config/v2.batch.config.my --name SeaTunnel 
--deploy-mode run-application
   ```
   
   ### Zeta or Flink or Spark Version
   
   Flink-1.16.3
   
   ### Java or Scala Version
   
   java 8
   
   ### Screenshots
   
   _No response_
   
   ### Are you willing to submit PR?
   
   - [ ] Yes I am willing to submit a PR!
   
   ### Code of Conduct
   
   - [x] I agree to follow this project's [Code of 
Conduct](https://www.apache.org/foundation/policies/conduct)
   


-- 
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