Github user GraceH commented on the pull request:
https://github.com/apache/spark/pull/7888#issuecomment-157307254
@andrewor14 My bad. Since the `val executors = getExecutorIds(sc)` is
fetched beforehand. We should not kill `executors.head` again and again (it
should be executor.head, and then executor(1)). Now, i change the sequence of
that.
1. set force = false to ignore the first executor
2. set force = true to force kill that first executor.
Now it should work.
---
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]