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

   Both addressed in 9d103894, with a follow-up in 54d66f85.
   
   1. Sync DML - there is no id to retain: `CliClient#callInserts` prints `Job 
ID:` only in the async branch, and
   `LocalExecutor#executeModifyOperations` only calls `tEnv.executeInternal`, 
so a running synchronous job never
   prints one. `cancelFlinkJob()` now attempts every collected JobID and then 
fails; `savePoint()` fails instead
   of checkpointing a subset. The reason is written to the task log, so the 
operator sees it. The task still
   ends as KILL - this branch has no kill-failure state and the kill event 
carries nothing back to the master;
   propagating it would be a platform change, happy to follow up separately.
   
   54d66f85 makes the detection exact: a submission also ends with `Could not 
execute SQL statement.`
   (CliStrings:198), so a failed submission no longer counts as pending. 
Covered: still-running, completed,
   failed, failed-then-running.
   
   2. Ambiguous YARN mapping: the job is marked unresolved and `savePoint()` 
throws instead of running without
   `-yid`; jobs with an independently known endpoint still run. The test 
asserts no command runs and the caller
   gets a `TaskException`.
   
   3. Extra: `destroyProcessTree` ignored `ProcessUtils.kill` returning false 
(no ps/pstree, or a descendant
   ignoring SIGINT) - it now warns.


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