Github user vanzin commented on the pull request:
https://github.com/apache/spark/pull/8668#issuecomment-140606005
To clarify: the YARN backend also needs to know whether the executor being
killed needs to be replaced or not. Right now, when the executor is not to be
replaced, that's communicated to the YARN backend using two RPCs: one to kill
the executor, one to update the number of requested executors.
So for your current patch to work on YARN, you'd have to propagate that
information (whether the executor needs to be replaced) in the `KillExecutors`
message sent to the YARN backend, and make the AM updating its bookkeeping
accordingly.
---
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]