yantzu opened a new pull request #223: [LIVY-658]RSCDriver should catch exception if cancel
job failed during shutdown
URL: https://github.com/apache/incubator-livy/pull/223
## What changes were proposed in this pull request?
Currently, if startup meet exception, exception will trigger spark to shutdown, then trigger
cancel job, but cancel job will throw another exception due to spark is not initialized. The
new exception will swallow the old exception.
Before changes:

After changes:

## How was this patch tested?
Tested manually.
Please review https://livy.incubator.apache.org/community/ before opening a pull request.
----------------------------------------------------------------
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.
For queries about this service, please contact Infrastructure at:
users@infra.apache.org
With regards,
Apache Git Services
|