You are viewing a plain text version of this content. The canonical link for it is here.
Posted to reviews@spark.apache.org by GitBox <gi...@apache.org> on 2021/08/13 01:04:56 UTC

[GitHub] [spark] mridulm commented on a change in pull request #33731: [SPARK-36500][CORE] Fix temp_shuffle file leaking when a task is interrupted

mridulm commented on a change in pull request #33731:
URL: https://github.com/apache/spark/pull/33731#discussion_r688177759



##########
File path: core/src/main/scala/org/apache/spark/storage/DiskBlockObjectWriter.scala
##########
@@ -65,7 +65,16 @@ private[spark] class DiskBlockObjectWriter(
     }
 
     def manualClose(): Unit = {

Review comment:
       Ideally, we should handle this in `closeResources` - but it is fine here as well, given this is not `close` but `manualClose` and we control the semantics of it :-)




-- 
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.

To unsubscribe, e-mail: reviews-unsubscribe@spark.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org



---------------------------------------------------------------------
To unsubscribe, e-mail: reviews-unsubscribe@spark.apache.org
For additional commands, e-mail: reviews-help@spark.apache.org