1. [SPARK-26758][CORE] Idle Executors are not getting killed after (details)
Commit 9c7866956cc6b5e8ef3c5f907aa97b557369390b by sean.owen
[SPARK-26758][CORE] Idle Executors are not getting killed after
spark.dynamiAllocation.executorIdleTimeout value
## What changes were proposed in this pull request?
**updateAndSyncNumExecutorsTarget**  API should be called after
**initializing** flag is unset
## How was this patch tested? Added UT and also manually tested
After Fix
Closes #23697 from sandeep-katta/executorIssue.
Authored-by: sandeep-katta <> Signed-off-by:
Sean Owen <>
(cherry picked from commit 1dd7419702c5bc7e36fee9fa1eec06b66f25806e)
Signed-off-by: Sean Owen <>
The file was modifiedcore/src/main/scala/org/apache/spark/ExecutorAllocationManager.scala (diff)
The file was modifiedcore/src/test/scala/org/apache/spark/ExecutorAllocationManagerSuite.scala (diff)