Details
-
Sub-task
-
Status: Closed
-
Minor
-
Resolution: Duplicate
-
3.0.0, 3.0.1, 3.1.0
-
None
-
None
Description
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.
Attachments
Attachments
Issue Links
- is superceded by
-
SPARK-33288 Support k8s cluster manager with stage level scheduling
- Resolved
- links to