zhaoli2333 commented on issue #5466:
URL: https://github.com/apache/seatunnel/issues/5466#issuecomment-2011356488

   @qinlz-1 @amapleleaf 
   here is my solution:
   ```
   /usr/local/flink-1.14.4/bin/flink run-application --target yarn-application 
   
-Dyarn.ship-files=/usr/local/seatunnel-2.3.3/lib/seatunnel-transforms-v2.jar;/usr/local/seatunnel-2.3.3/connectors/seatunnel/connector-jdbc-2.3.3.jar;/usr/local/seatunnel-2.3.3/connectors/seatunnel/connector-file-hadoop-2.3.3.jar;
 
   -Dyarn.application.name=test-seatunnel-job 
   -Djobmanager.memory.process.size=1024m 
   -Dtaskmanager.memory.process.size=2048m 
   -Dtaskmanager.numberOfTaskSlots=1 
   -Dcontainerized.master.env.ELKLOG_JOBID=1248 
   -Dstate.checkpoints.dir=hdfs:///data/flink/flink-checkpoints/1248 
   -Dstate.savepoints.dir=hdfs:///data/flink/flink-savepoints/1248 
   -Dexecution.checkpointing.interval=30s 
   -Dexecution.checkpointing.timeout=10min 
   -c org.apache.seatunnel.core.starter.flink.SeaTunnelFlink 
/usr/local/seatunnel-2.3.3/starter/seatunnel-flink-13-starter.jar 
   --config hdfs:///seatunnel/config/1248
   ```
   
   1. use ```yarn.ship-files``` to specify your dependence jars.
   2. modify seatunnel source code to support read config from hdfs.
   


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