[
https://issues.apache.org/jira/browse/SPARK-51185?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17926620#comment-17926620
]
Dongjoon Hyun commented on SPARK-51185:
---------------------------------------
To [~lukasrupprecht] , I removed both `Fix Version` and `Target Version`.
> Revert simplifications to PartitionedFileUtil API due to increased risk of OOM
> ------------------------------------------------------------------------------
>
> Key: SPARK-51185
> URL: https://issues.apache.org/jira/browse/SPARK-51185
> Project: Spark
> Issue Type: Sub-task
> Components: Spark Core
> Affects Versions: 4.0.0
> Reporter: Lukas Rupprecht
> Priority: Major
> Labels: pull-request-available
>
> A prior ticket (see https://issues.apache.org/jira/browse/SPARK-44081)
> implemented a simplification to the PartitionedFileUtils API that removed
> redundant `path` arguments, which can be obtained directly from the
> `FileStatusWithMetadata` object. To avoid repeatedly having to compute the
> path, this change changed `FileStatusWithMetadata.getPath` from a def to a
> lazy val. However, this increases the memory requirements as the path now
> needs to be kept in memory throughout the lifetime of a
> `FileStatusWithMetadata` object. This can lead to OOMs so we should revert
> this change and make `getPath` to be a `def`.
--
This message was sent by Atlassian Jira
(v8.20.10#820010)
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]