Github user viadea commented on a diff in the pull request:
https://github.com/apache/spark/pull/8082#discussion_r36696116
--- Diff:
streaming/src/main/scala/org/apache/spark/streaming/Checkpoint.scala ---
@@ -219,7 +223,9 @@ class CheckpointWriter(
if (allCheckpointFiles.size > 10) {
allCheckpointFiles.take(allCheckpointFiles.size -
10).foreach(file => {
logInfo("Deleting " + file)
- fs.delete(file, true)
+ if (fs.exists(file)) {
--- End diff --
I agreed and I just made the change. Can you start another build and test?
---
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]