lbrowny opened a new issue, #16906:
URL: https://github.com/apache/dolphinscheduler/issues/16906

   ### Search before asking
   
   - [X] I had searched in the 
[issues](https://github.com/apache/dolphinscheduler/issues?q=is%3Aissue) and 
found no similar issues.
   
   
   ### What happened
   
   I try to stop spark job on yarn but failed.
   Logs show that kill yarn application failed with ExitCodeException.  The 
exit code is 137. Thouth dolphin task instance is set to terminated, spark job 
is still running.
   I then set dolphinscheduler to develop mode, reserve the .kill file and 
execute command 'sh /xxx/xxx/xxx.kill' manually with user dolphinscheduler. It 
works, spark job is terminated as expected. 
   Is there any difference between dolphinscheduler and execute .kill file 
manually?
   there's logs: 
   
![dolpin_log1](https://github.com/user-attachments/assets/6d3b8fb7-279d-4fc2-8c3b-99f105b61982)
   
![dolpin_log2](https://github.com/user-attachments/assets/aaeea854-de2b-40d8-9b08-4ca08d22aa95)
   
   
   
   ### What you expected to happen
   
   dolphinscheduler terminate spark job successfully.  
   
   ### How to reproduce
   
   Any attemp to stop spark job failed  in my env. 
   I don't know what env config should I provide to help solve the problem. 
   
   ### Anything else
   
   _No response_
   
   ### Version
   
   3.2.x
   
   ### Are you willing to submit PR?
   
   - [ ] Yes I am willing to submit a PR!
   
   ### Code of Conduct
   
   - [X] I agree to follow this project's [Code of 
Conduct](https://www.apache.org/foundation/policies/conduct)
   


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