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:48 UTC

[jira] [Resolved] (SPARK-11309) Clean up hacky use of MemoryManager inside of HashedRelation

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

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

> Clean up hacky use of MemoryManager inside of HashedRelation
> ------------------------------------------------------------
>
>                 Key: SPARK-11309
>                 URL: https://issues.apache.org/jira/browse/SPARK-11309
>             Project: Spark
>          Issue Type: Improvement
>          Components: SQL
>            Reporter: Josh Rosen
>            Priority: Major
>              Labels: bulk-closed
>
> In HashedRelation, there's a hacky creation of a new MemoryManager in order to handle broadcasting of BytesToBytesMap: https://github.com/apache/spark/blob/85e654c5ec87e666a8845bfd77185c1ea57b268a/sql/core/src/main/scala/org/apache/spark/sql/execution/joins/HashedRelation.scala#L323
> Something similar to this has existed for a while, but the code recently became much messier as an indirect consequence of my memory manager consolidation patch. We should see about cleaning this up and removing the hack.



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