Admaing commented on PR #18667:
URL: 
https://github.com/apache/dolphinscheduler/pull/18667#issuecomment-6055664002

   @SbloodyS Addressed in e6b0ca6d84 (plus follow-ups e109cebc20, ff0809a01b); 
branch now merged with latest dev (3f3d010e38).
   extractClusterConnectionOptions() now repeats only cluster-selecting options 
(-m/--jobmanager, -t/--target, and a whitelist of -D cluster keys) on both 
cancel and savepoint; submission-only args (-p, -ys, -ynm, -yjm, -ytm, -c, -s, 
-d, other -D) are dropped, with quote-aware tokenization.
   Since the tests mock execution, I also verified the generated arg forms 
against the real Flink CLI (1.15.0/1.16.0/1.20.0): cancel <jobId> -m <jm>, 
cancel <jobId> -t <t> -m <jm>, savepoint <jobId> -m <jm> -D... and savepoint 
<jobId> -yid application_..._... all parse fine (options after the JobID are 
accepted).
   Also: e109cebc20 stops the client even when the cancel command fails; 
ff0809a01b gives savepoint its own 600s timeout and tightens the JobID regex to 
32 hex.
   Tests: clean test → task-api 114, flink 29, flink-stream 15 pass; 
spotless:check passes.


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