Github user sitalkedia commented on the issue:

    https://github.com/apache/spark/pull/19048
  
    That's not really true.
    The EAM uses the `requestTotalExecutors` api to set the target for the 
scheduler.
    
    - 10 executors are running, each executor can run 4 tasks at max.
    - 20 tasks are running so EAM sets the internal target to 5 and also asks 
the CGSB to set its target to 5.
    - However, only 2 executors are idle, so the EAM will try to kill 2 of them.
    - CGSB now sets its target to 3 because the EAM asks to kill 2 executors.
    



---
If your project is set up for it, you can reply to this email and have your
reply appear on GitHub as well. If your project does not have this feature
enabled and wishes so, or if the feature is enabled but not working, please
contact infrastructure at [email protected] or file a JIRA ticket
with INFRA.
---

---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to