Skip to content
Closed
Changes from 3 commits
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
1 change: 1 addition & 0 deletions core/src/main/scala/org/apache/spark/util/Utils.scala
Original file line number Diff line number Diff line change
Expand Up @@ -1004,6 +1004,7 @@ private[spark] object Utils extends Logging {
for (child <- listFilesSafely(file)) {
try {
deleteRecursively(child)
logTrace(file.getAbsolutePath + " has been deleted")

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I mean, why not s"${file.getAbsolutePath} has been deleted"? it's actually important for a log trace statement

} catch {
// In case of multiple exceptions, only last one will be thrown
case ioe: IOException => savedIOException = ioe
Expand Down