GitHub user viirya opened a pull request:

    https://github.com/apache/spark/pull/18947

    [SPARK-21721][SQL][Backport-2.1] Clear FileSystem deleteOnExit cache when 
paths are successfully removed

    ## What changes were proposed in this pull request?
    
    Backport SPARK-21721 to branch 2.1:
    
    We put staging path to delete into the deleteOnExit cache of FileSystem in 
case of the path can't be successfully removed. But when we successfully remove 
the path, we don't remove it from the cache. We should do it to avoid 
continuing grow the cache size.
    
    ## How was this patch tested?
    
    Added test.


You can merge this pull request into a Git repository by running:

    $ git pull https://github.com/viirya/spark-1 SPARK-21721-backport-2.1

Alternatively you can review and apply these changes as the patch at:

    https://github.com/apache/spark/pull/18947.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 #18947
    
----
commit a4806b3c7ece735ff5be89248016e6ceba16bcc2
Author: Liang-Chi Hsieh <[email protected]>
Date:   2017-08-15T08:05:04Z

    Backport SPARK-21721 to branch 2.1.

----


---
If your project is set up for it, you can reply to this email and have your
reply appear on GitHub as well. If your project does not have this feature
enabled and wishes so, or if the feature is enabled but not working, please
contact infrastructure at [email protected] or file a JIRA ticket
with INFRA.
---

---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to