[GitHub] flink pull request #2970: [FLINK-5300] Add more gentle file deletion procedu...

2016-12-13 Thread asfgit
Github user asfgit closed the pull request at:

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


---
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.
---


[GitHub] flink pull request #2970: [FLINK-5300] Add more gentle file deletion procedu...

2016-12-08 Thread tillrohrmann
GitHub user tillrohrmann opened a pull request:

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

[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.

cc: @StefanRRichter 

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

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

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

https://github.com/apache/flink/pull/2970.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 #2970


commit 62d3d28f675aaad203d655848d30e9fb916af43b
Author: Till Rohrmann 
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.
---