SuccessChanges

Summary

  1. [SPARK-26758][CORE] Idle Executors are not getting killed after (commit: 9c7866956cc6b5e8ef3c5f907aa97b557369390b) (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
![afterfix](https://user-images.githubusercontent.com/35216143/51983136-ed4a5000-24bd-11e9-90c8-c4a562c17a4b.png)
Closes #23697 from sandeep-katta/executorIssue.
Authored-by: sandeep-katta <sandeep.katta2007@gmail.com> Signed-off-by:
Sean Owen <sean.owen@databricks.com>
(cherry picked from commit 1dd7419702c5bc7e36fee9fa1eec06b66f25806e)
Signed-off-by: Sean Owen <sean.owen@databricks.com>
(commit: 9c7866956cc6b5e8ef3c5f907aa97b557369390b)
The file was modifiedcore/src/test/scala/org/apache/spark/ExecutorAllocationManagerSuite.scala (diff)
The file was modifiedcore/src/main/scala/org/apache/spark/ExecutorAllocationManager.scala (diff)