KaiSong-UK opened a new pull request, #18457:
URL: https://github.com/apache/dolphinscheduler/pull/18457

   ## Purpose
   
   Fix Seatunnel task failure when running Seatunnel 2.3.1+ with Zeta engine.
   
   Closes #16617
   
   ## Problem
   
   SeaTunnel 2.3.1+ deprecated `-e`/`--deploy-mode` CLI flags in favor of 
`-m`/`--master`. The `SeatunnelEngineTask` (Zeta engine) was still passing 
`--deploy-mode` to the Seatunnel CLI, causing the warning/error:
   
   ```
   -e and --deploy-mode deprecated in 2.3.1, please use -m and --master instead 
of it
   ```
   
   ## Changes
   
   In 
`dolphinscheduler-task-plugin/dolphinscheduler-task-seatunnel/src/main/java/org/apache/dolphinscheduler/plugin/task/seatunnel/self/SeatunnelEngineTask.java`:
   
   - Changed `Constants.DEPLOY_MODE_OPTIONS` to `Constants.MASTER_OPTIONS` in 
`buildOptions()`
   
   The `MASTER_OPTIONS` constant (`"--master"`) already exists in 
`Constants.java` and is the correct CLI flag for Seatunnel 2.3.1+.
   
   ## Notes
   
   - This fix only addresses the Zeta engine (`SeatunnelEngineTask`). The Spark 
engine (`SeatunnelSparkTask`) uses both `--deploy-mode` and `--master` for 
different purposes and may need a separate fix.


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