A New Era for Apache Spark 4.2: Dynamic Resource Optimization with Heterogeneous Executors
summary
Spark 4.2 adds Heterogeneous Executor Management on Kubernetes (requires K8s 1.35+) so executors can grow without pod restarts: memory polls every minute and the ExecutorResizePlugin can raise a pod’s request/limit (example: +25% when usage >90%), PVCs can live PVC resize (example: double capacity when usage >50%), and a Recovery-Mode executor runs one task at a time to stop OOM cascades; a graceful application hold/resume appears in 4.4 UI to drain and later restore executors.
AI-written summary · about
