Github user GraceH commented on the pull request:
https://github.com/apache/spark/pull/7888#issuecomment-155963074
@andrewor14 Here is the problem. Since we didn't provide public API with
force control. It is impossible to add `force = true` into `
b.killExecutors(executorIds)` below. This will change the behavior of
`sc.killExecutors()`.
```java
override def killExecutors(executorIds: Seq[String]): Boolean = {
schedulerBackend match {
case b: CoarseGrainedSchedulerBackend =>
b.killExecutors(executorIds)
case _ =>
logWarning("Killing executors is only supported in
coarse-grained mode")
false
}
}
---
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]