Github user jiangxb1987 commented on a diff in the pull request: https://github.com/apache/spark/pull/20754#discussion_r174116645 --- Diff: core/src/main/scala/org/apache/spark/ExecutorAllocationManager.scala --- @@ -291,9 +291,6 @@ private[spark] class ExecutorAllocationManager( */ private def schedule(): Unit = synchronized { val now = clock.getTimeMillis - - updateAndSyncNumExecutorsTarget(now) --- End diff -- IIUC the code is arranged intentionally to avoid ramp down initial executors until first job is submitted/idle executor is timeout, also cc @jerryshao
--- --------------------------------------------------------------------- To unsubscribe, e-mail: reviews-unsubscr...@spark.apache.org For additional commands, e-mail: reviews-h...@spark.apache.org