JinRudy opened a new pull request, #18315:
URL: https://github.com/apache/dolphinscheduler/pull/18315

   ## Purpose
   
   Fixes #16617.
   
   SeaTunnel 2.3.1 deprecated `-e` / `--deploy-mode` for `seatunnel.sh` and 
recommends `-m` / `--master` instead. DolphinScheduler still generated 
`--deploy-mode` for the SeaTunnel engine task, which can fail with newer 
SeaTunnel versions.
   
   ## Changes
   
   - Use `Constants.MASTER_OPTIONS` when building SeaTunnel engine deploy mode 
arguments.
   - Add a regression test for `seatunnel.sh` command option generation.
   
   ## Tests
   
   - `JAVA_HOME=/opt/homebrew/opt/openjdk@17/libexec/openjdk.jdk/Contents/Home 
PATH=/opt/homebrew/opt/openjdk@17/bin:$PATH ./mvnw -pl 
dolphinscheduler-task-plugin/dolphinscheduler-task-seatunnel -am 
-Dtest=SeatunnelTaskTest#testSeatunnelEngineDeployModeUsesMasterOption 
-Dsurefire.failIfNoTests=false -Dsurefire.failIfNoSpecifiedTests=false 
-Dspotless.skip=true -Danalyze.skip=true -Djacoco.skip=true -DskipDepCheck=true 
test`
   - `JAVA_HOME=/opt/homebrew/opt/openjdk@17/libexec/openjdk.jdk/Contents/Home 
PATH=/opt/homebrew/opt/openjdk@17/bin:$PATH ./mvnw -pl 
dolphinscheduler-task-plugin/dolphinscheduler-task-seatunnel -am 
-Dtest=SeatunnelTaskTest,SeatunnelParametersTest -Dsurefire.failIfNoTests=false 
-Dsurefire.failIfNoSpecifiedTests=false -Dspotless.skip=true 
-Danalyze.skip=true -Djacoco.skip=true -DskipDepCheck=true test`
   - `JAVA_HOME=/opt/homebrew/opt/openjdk@17/libexec/openjdk.jdk/Contents/Home 
PATH=/opt/homebrew/opt/openjdk@17/bin:$PATH ./mvnw -pl 
dolphinscheduler-task-plugin/dolphinscheduler-task-seatunnel -DskipTests 
-Djacoco.skip=true -DskipDepCheck=true spotless:check`
   - `git diff --check`


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