GitHub user zuotingbing opened a pull request:
https://github.com/apache/spark/pull/19841
[SPARK-22642][SQL] the createdTempDir will not be deleted if an exception
occurs
## What changes were proposed in this pull request?
We found staging directories will not be dropped sometimes in our
production environment.
The createdTempDir will not be deleted if an exception occurs, we should
delete createdTempDir in finally.
Refer to SPARK-18703ã
## How was this patch tested?
exist tests
You can merge this pull request into a Git repository by running:
$ git pull https://github.com/zuotingbing/spark SPARK-stagedir
Alternatively you can review and apply these changes as the patch at:
https://github.com/apache/spark/pull/19841.patch
To close this pull request, make a commit to your master/trunk branch
with (at least) the following in the commit message:
This closes #19841
----
commit 99d1fd74b7f25a7ddbda4dd01a8b4c03b3da778a
Author: zuotingbing <[email protected]>
Date: 2017-11-29T06:22:20Z
[SPARK-22642][SQL] the createdTempDir will not be deleted if an exception
occurs
----
---
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]