Skip to content
Closed
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Prev Previous commit
add space after //
  • Loading branch information
pzzs committed Nov 25, 2015
commit a3e7cb8f63749600ab9b33d338cd78a68a126a06
Original file line number Diff line number Diff line change
Expand Up @@ -57,8 +57,8 @@ private[spark] object ShutdownHookManager extends Logging {
// Add a shutdown hook to delete the temp dirs when the JVM exits
addShutdownHook(TEMP_DIR_SHUTDOWN_PRIORITY) { () =>
logInfo("Shutdown hook called")
//we need to materialize the paths to delete because deleteRecursively removes items from
//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.
shutdownDeletePaths.toArray.foreach { dirPath =>
try {
logInfo("Deleting directory " + dirPath)
Expand Down