Github user bowenli86 commented on the issue: https://github.com/apache/flink/pull/4787 I was looking into [FLINK-6615](https://issues.apache.org/jira/browse/FLINK-6615), and I think 6615 is not a problem due to files may be created concurrently. But I found the current impl of `deleteDirectory()` to be cumbersome. The new code also handles concurrent removals well, and I can add back `cleanDirectory()` though it's not used anywhere yet. I'm happy to keep the original impl if you prefer it. Which version do you like better?
---