gaborgsomogyi commented on a change in pull request #31495:
URL: https://github.com/apache/spark/pull/31495#discussion_r595956585
##########
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:
You're right, HEAD requests add up and I've formed my statement roughly.
According to my measurements the nominal performance better even with blind
`delete`.
To tell the truth not measured independently how much caching brings and how
much blind `delete` wastes.
If you have a good idea to make it better it's more than welcome.
----------------------------------------------------------------
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]