GitHub user tillrohrmann opened a pull request:

    https://github.com/apache/flink/pull/2971

    [backport] [FLINK-5300] Add more gentle file deletion procedure

    Backport of #2970 to the release-1.1 branch.
    
    Before deleting a parent directory always check the directory whether it 
contains some
    files. If not, then try to delete the parent directory.
    
    This will give a more gentle behaviour wrt storage systems which are not 
instructed to
    delete a non-empty directory.

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

    $ git pull https://github.com/tillrohrmann/flink 
backportMoreGentleFileDeletion

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

    https://github.com/apache/flink/pull/2971.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 #2971
    
----
commit fbce253eddd2ea6ce681b8881a5b6b8d470d861b
Author: Till Rohrmann <trohrm...@apache.org>
Date:   2016-12-08T17:53:40Z

    [FLINK-5300] Add more gentle file deletion procedure
    
    Before deleting a parent directory always check the directory whether it 
contains some
    files. If not, then try to delete the parent directory.
    
    This will give a more gentle behaviour wrt storage systems which are not 
instructed to
    delete a non-empty directory.

----


---
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 infrastruct...@apache.org or file a JIRA ticket
with INFRA.
---

Reply via email to