richardmilles commented on issue #16789:
URL: 
https://github.com/apache/dolphinscheduler/issues/16789#issuecomment-5214349844

   I'd like to take this issue.
   
   Based on @izualzhy's comment: when the Flink client process has already 
exited, stop should not fail. On current `dev`, `ProcessUtils.kill()` still 
calls `pstree`/`getPidList` before checking liveness, so an already-exited PID 
throws and the worker logs kill failure.
   
   Plan:
   1. Treat `!isProcessAlive(processId)` as successful kill (no need to pstree)
   2. Add a unit test for that case


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