Skip to main content
Engineering, Data / ML

Dynamic Executor Core Resizing in Spark

10 August 2023 / Global
Featured image for Dynamic Executor Core Resizing in Spark
Image
Figure 1: Spark cluster overview
Image
Figure 2: A sample OOM exception
Image
Figure 3: Compute-to-memory ratio
Image
Figure 4: Executor with 4 cores and 4GB memory
Image
Figure 5: Stage with few memory-intensive tasks
Image
Figure 6: Executor’s memory sufficient for the Tasks’ memory requirements
Image
Figure 7: Executor’s memory not sufficient for the Tasks’ memory requirements
Image
Figure 8: Executor with single task slot
Image
Figure 9: Reattempt view of the memory-intensive tasks
Kalyan Sivakumar

Kalyan Sivakumar

Kalyan Sivakumar is a Staff Engineer on Uber’s Data platform team. He spent most of his career on database engine internals. At Uber, as a part of the Batch Analytics team, he focuses on projects on reliability and efficiency improvement.

Posted by Kalyan Sivakumar