You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@spark.apache.org by "Wenchen Fan (Jira)" <ji...@apache.org> on 2021/03/22 08:18:00 UTC

[jira] [Resolved] (SPARK-34089) MemoryConsumer's memory mode should respect MemoryManager's memory mode

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

Wenchen Fan resolved SPARK-34089.
---------------------------------
    Fix Version/s: 3.2.0
       Resolution: Fixed

Issue resolved by pull request 31152
[https://github.com/apache/spark/pull/31152]

> MemoryConsumer's memory mode should respect MemoryManager's memory mode
> -----------------------------------------------------------------------
>
>                 Key: SPARK-34089
>                 URL: https://issues.apache.org/jira/browse/SPARK-34089
>             Project: Spark
>          Issue Type: Bug
>          Components: Spark Core
>    Affects Versions: 2.4.7, 3.0.0, 3.1.0
>            Reporter: wuyi
>            Assignee: wuyi
>            Priority: Major
>             Fix For: 3.2.0
>
>
> Currently, the memory mode always set to ON_HEAP for memory consumer when it's not explicitly set.
> However, we actually can know the specific memory mode by taskMemoryManager.getTungstenMemoryMode().
>  
> [https://github.com/apache/spark/blob/3a299aa6480ac22501512cd0310d31a441d7dfdc/core/src/main/java/org/apache/spark/memory/MemoryConsumer.java#L43-L45]
>  
>  



--
This message was sent by Atlassian Jira
(v8.3.4#803005)

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