[Bug][API] The Spark task runs in Cluster mode, executes successfully but the status of the task is shown to fail
use version 1.3.1 of Dolphinscheduler:
Describe the bug The Spark task runs in Cluster mode, executes successfully but the status of the task is shown to fail.
To Reproduce
- Run a Spark task in Cluster mode.
- view the status fo the task,failed.

- View the task log and the end of the log shows that the Spark task executed successfully.

Expected behavior The Spark task runs in Cluster mode, executes successfully then the status of the task is shown to success.
You can check if there is an error in the worker log
I checked the log on yarn and found no errors, what are the criteria for determining the execution state of the current Spark task?
The Spark task runs in Cluster mode, executes successfully then the status of the task is shown to submit success.
I checked the log on yarn and found no errors, what are the criteria for determining the execution state of the current Spark task?
not yarn log, please find exit code for this task in the DolphinScheduelr worker server runtime log, if exit code is not 0, it will failure
I checked the log on yarn and found no errors, what are the criteria for determining the execution state of the current Spark task?
not yarn log, please find exit code for this task in the DolphinScheduelr worker server runtime log, if exit code is not 0, it will failure
Sorry, after check because my configuration parameters of the yarn. The yarn.resourcemanager.ha.rm.ids configuration errors caused by waste your time