srowen 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-459026322
 
 
   Hm, isn't schedule() called at 0s, 60s, and 120s here? after 60s, 
initializing is false (because it checked for expired executors), but it was 
true when checking whether to update the executors just before that in 
schedule() so nothing happened. 
   
   Is the current problem that they should be checked at 60s, but aren't 
actually checked until 120s? just to be clear. Because you say you're checking 
the target before removing executors, but the change makes it happen after.
   
   Yes, your second option is also what I was thinking, but I don't know the 
implications of removing the call to schedule() at 0s. Your current change 
feels OK as it seems to improve the logic otherwise.

----------------------------------------------------------------
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]

Reply via email to