Details
-
Improvement
-
Status: Resolved
-
Major
-
Resolution: Won't Fix
-
1.0.0
-
None
-
None
Description
Fine grained mode Mesos currently supports sharing CPUs very well, but requires that memory be pre-partitioned according to the executor memory parameter. Mesos supports dynamic memory allocation in addition to dynamic CPU allocation, so we should utilize this feature in Spark.
See below where when the Mesos backend accepts a resource offer it only checks that there's enough memory to cover sc.executorMemory, and doesn't ever take a fraction of the memory available. The memory offer is accepted all or nothing from a pre-defined parameter.
Attachments
Attachments
Issue Links
- relates to
-
SPARK-4922 Support dynamic allocation for coarse-grained Mesos
- Closed