matianhe3 opened a new issue, #18356: URL: https://github.com/apache/dolphinscheduler/issues/18356
### 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 spark standalone task , spark-submit return failed `State of driver driver-20260616120759-0009 is FAILED`. but dolphin status is successed. <img width="857" height="64" alt="Image" src="https://github.com/user-attachments/assets/62a9ea73-4086-4762-b870-a340ed6003e5" /> Shell task: ``` spark-submit \ --master spark://spark:7077 \ --deploy-mode cluster \ --class com.pulse.spark.SqlRunner \ --name Test_Insert_ODS \ --driver-cores 1 \ --driver-memory 512m \ --executor-cores 1 \ --executor-memory 1g \ --total-executor-cores 1 \ --conf spark.standalone.submit.waitAppCompletion=true \ --sql "INSERT INTO lk.ods.test (col) VALUES ('test')" ``` ``` 2026-06-16 12:07:59.057 INFO - -> 26/06/16 12:07:59 INFO ClientEndpoint: ... waiting before polling master for driver state 2026-06-16 12:07:59.081 INFO - -> 26/06/16 12:07:59 INFO ClientEndpoint: Driver successfully submitted as driver-20260616120759-0009 2026-06-16 12:08:04.079 INFO - -> 26/06/16 12:08:04 INFO ClientEndpoint: State of driver-20260616120759-0009 is RUNNING 2026-06-16 12:08:04.081 INFO - -> 26/06/16 12:08:04 INFO ClientEndpoint: Driver running on 192.168.16.219:39181 (worker-20260615171840-192.168.16.219-39181) 2026-06-16 12:08:14.066 INFO - -> 26/06/16 12:08:14 INFO ClientEndpoint: State of driver driver-20260616120759-0009 is FAILED, exiting spark-submit JVM. 2026-06-16 12:08:14.423 INFO - process has exited. execute path:/tmp/dolphinscheduler/exec/process/29435, processId:1364997 ,exitStatusCode:0 ,processWaitForStatus:true ,processExitValue:0 2026-06-16 12:08:14.480 INFO - 🐬 Finalize Task Instance 2026-06-16 12:08:14.480 INFO - FINALIZE_SESSION 2026-06-16 12:08:14.480 INFO - Deleted task exec directory: /tmp/dolphinscheduler/exec/process/29435 ``` ### What you expected to happen show task failed ### How to reproduce spark-submit result. ### Anything else _No response_ ### Version 3.4.0 ### 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]
