You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@spark.apache.org by "Apache Spark (Jira)" <ji...@apache.org> on 2020/08/19 13:27:00 UTC

[jira] [Commented] (SPARK-32661) Spark executors on K8S do not request extra memory for off-heap allocations

    [ https://issues.apache.org/jira/browse/SPARK-32661?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17180546#comment-17180546 ] 

Apache Spark commented on SPARK-32661:
--------------------------------------

User 'LucaCanali' has created a pull request for this issue:
https://github.com/apache/spark/pull/29477

> Spark executors on K8S do not request extra memory for off-heap allocations
> ---------------------------------------------------------------------------
>
>                 Key: SPARK-32661
>                 URL: https://issues.apache.org/jira/browse/SPARK-32661
>             Project: Spark
>          Issue Type: Bug
>          Components: Kubernetes
>    Affects Versions: 3.0.0
>            Reporter: Luca Canali
>            Priority: Minor
>
> Off-heap memory allocations are configured using `spark.memory.offHeap.enabled=true` and `conf spark.memory.offHeap.size=<size>`. Spark on YARN adds the off-heap memory size to the executor container resources. Spark on Kubernetes does not request the allocation of the off-heap memory. Currently, this can be worked around by using spark.executor.memoryOverhead to reserve memory for off-heap allocations. This proposes make Spark on Kubernetes behave as in the case of YARN, that is adding spark.memory.offHeap.size to the memory request for executor containers.



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