sandeep-katta commented on issue #23697: [SPARK-26758][core]Idle Executors are not getting killed after spark.dynamiAllocation.executorIdleTimeout value URL: https://github.com/apache/spark/pull/23697#issuecomment-459223503 Let me make you understand the problem Confs used spark.dynamicAllocation.initialExecutors=3,spark.dynamicAllocation.minExecutors=0,spark.dynamicAllocation.executorIdleTimeout=60s Let say now the time 00:00:00 , and 3 executors are up `schedule `will run at 00:00:00,00:01:00,00:02:00 etc.. At 00:00:00 `removeTimes `contains {{1,00:00:00},{2,00:00:00},{3,00:00:00}} `executorIdsToBeRemoved `is empty At 00:01:00 All the executors are expired `removeTimes `will be empty as per retain logic ([code here ](https://github.com/apache/spark/blob/master/core/src/main/scala/org/apache/spark/ExecutorAllocationManager.scala#L318-L329)) `executorIdsToBeRemoved `= {1,2,3} but these executors are not removed,can check the jira for the driver logs At 00:02:00 `removeTimes `is empty,so `executorIdsToBeRemoved `is empty
---------------------------------------------------------------- This is an automated message from the Apache Git Service. To respond to the message, please log on GitHub and use the URL above to go to the specific comment. For queries about this service, please contact Infrastructure at: [email protected] With regards, Apache Git Services --------------------------------------------------------------------- To unsubscribe, e-mail: [email protected] For additional commands, e-mail: [email protected]
