HeartSaVioR commented on a change in pull request #31495:
URL: https://github.com/apache/spark/pull/31495#discussion_r596428960
##########
File path:
sql/core/src/main/scala/org/apache/spark/sql/execution/streaming/CheckpointFileManager.scala
##########
@@ -277,7 +277,6 @@ class FileSystemBasedCheckpointFileManager(path: Path,
hadoopConf: Configuration
fs.delete(path, true)
} catch {
case e: FileNotFoundException =>
- logInfo(s"Failed to delete $path as it does not exist")
Review comment:
I've already experimented and noticed both will have no noticeable
difference.
https://github.com/apache/spark/pull/31495#discussion_r572473687
But that's completely based on implementation details; implementations can
leverage the benefit of doing less operations if external storage could simply
promises the same contract delete() in Hadoop filesystem promises.
----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
For queries about this service, please contact Infrastructure at:
[email protected]
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]