Describe the bug
Cancelling a spark load in the pending phase will not succeed.
To Reproduce
Steps to reproduce the behavior:
- Submit a spark load job
- The job state is
PENDDING at the beginning.
- cancel load job.
- Show load. And you can see the job state is
CANCELLED with msg user cancel
- Open the web interface of the yarn cluster with browser, you can see that the spark job has been submitted successfully and is running well.
Expected behavior
The spark job should not be submmited.