Github user tgravescs commented on the issue:
https://github.com/apache/spark/pull/18978
I don't see to much difference whether it goes to driver or AM, either way
AM and driver have to talk after the initial connection. For something like a
kill command its actually probably better to go to AM first because in client
mode that way you know on the yarn side for certain you got a kill command and
you don't need to reattempt. But you should also be able to go to driver and
have driver tell the AM it got the kill. As long as it doesn't shutdown or for
some reason can't get the message out to AM.
I don't have to strong of a opinion which way we go other then I would have
to look to see how it would be conditionalized right now for yarn only. If we
think it will be useful for other cluster managers then we can look at
switching to do driver first. I was kind of figuring those other ones would
use the rest server to do that.
---
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]