We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent cea4cd3 commit a3e7cb8Copy full SHA for a3e7cb8
core/src/main/scala/org/apache/spark/util/ShutdownHookManager.scala
@@ -57,8 +57,8 @@ private[spark] object ShutdownHookManager extends Logging {
57
// Add a shutdown hook to delete the temp dirs when the JVM exits
58
addShutdownHook(TEMP_DIR_SHUTDOWN_PRIORITY) { () =>
59
logInfo("Shutdown hook called")
60
- //we need to materialize the paths to delete because deleteRecursively removes items from
61
- //shutdownDeletePaths as we are traversing through it.
+ // we need to materialize the paths to delete because deleteRecursively removes items from
+ // shutdownDeletePaths as we are traversing through it.
62
shutdownDeletePaths.toArray.foreach { dirPath =>
63
try {
64
logInfo("Deleting directory " + dirPath)
0 commit comments