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

Dongjoon Hyun closed SPARK-50853.
---------------------------------

> Close temp shuffle file writable channel
> ----------------------------------------
>
>                 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: 3.5.5, 4.0.0
>
>
> 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: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to