You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@spark.apache.org by "Hyukjin Kwon (JIRA)" <ji...@apache.org> on 2019/05/21 04:35:34 UTC

[jira] [Resolved] (SPARK-14186) Size awareness during spill and shuffle

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

Hyukjin Kwon resolved SPARK-14186.
----------------------------------
    Resolution: Incomplete

> Size awareness during spill and shuffle
> ---------------------------------------
>
>                 Key: SPARK-14186
>                 URL: https://issues.apache.org/jira/browse/SPARK-14186
>             Project: Spark
>          Issue Type: Improvement
>          Components: Block Manager, Shuffle
>    Affects Versions: 1.6.0
>            Reporter: He Tianyi
>            Priority: Minor
>              Labels: bulk-closed
>
> Currently during spilling of a collection of record, sorter calls {{createTempShuffleBlock}} for allocating a local block. 
> This call provides no size information about required block. Without knowledge of estimated size, this makes customized allocation strategy hard to implement .
> On the other hand, theoretically both {{PartitionedPairBuffer}} and {{PartitionedAppendOnlyMap}} are able to track its estimated size. 
> In this case, it is convenient to extract size information and pass it as parameter to {{createTempShuffleBlock}}.



--
This message was sent by Atlassian JIRA
(v7.6.3#76005)

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