[ 
https://issues.apache.org/jira/browse/SPARK-50853?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Dongjoon Hyun resolved SPARK-50853.
-----------------------------------
    Fix Version/s: 4.0.0
                   3.5.5
         Assignee: Michael Chen
       Resolution: Fixed

This is resolved via https://github.com/apache/spark/pull/49531

> Temp shuffle files not closed
> -----------------------------
>
>                 Key: SPARK-50853
>                 URL: https://issues.apache.org/jira/browse/SPARK-50853
>             Project: Spark
>          Issue Type: Bug
>          Components: Shuffle, Spark Core
>    Affects Versions: 3.4.0
>            Reporter: Michael Chen
>            Assignee: Michael Chen
>            Priority: Major
>              Labels: pull-request-available
>             Fix For: 4.0.0, 3.5.5
>
>
> SimpleDownloadWritableChannel implementation of closeAndRead method is not 
> closing the writable channel. (compared to EncryptedDownloadWritableChannel 
> implementation which is)
> {code:java}
> @Override
> public ManagedBuffer closeAndRead() throws IOException {
>   return new FileSegmentManagedBuffer(transportConf, file, 0, file.length());
> } {code}
> There is nothing explicitly closing the channel, and it's relying on 
> finalizer/phantom cleanable to close the file descriptor.



--
This message was sent by Atlassian Jira
(v8.20.10#820010)

---------------------------------------------------------------------
To unsubscribe, e-mail: issues-unsubscr...@spark.apache.org
For additional commands, e-mail: issues-h...@spark.apache.org

Reply via email to