Github user GraceH commented on the pull request: https://github.com/apache/spark/pull/7888#issuecomment-127444561 @CodingCat What I mean is to add the force control in the ```killExecutors``` API. Currently, the dynamic allocation is using that API with force=false (I suppose we should not kill working executors in Dynamic allocation). And for others, they are free to use that option as true or false. If they really want to do that, they can call the private API by setting that as ```true```. Regarding the public API for the users, we'd better have a discussion if to add a new public API (it is a little bit out of this PR's scope). From my perspective, to modify the exiting public API is not a good idea. It may cause compatibility issue. What do you think?
--- 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 infrastruct...@apache.org or file a JIRA ticket with INFRA. --- --------------------------------------------------------------------- To unsubscribe, e-mail: reviews-unsubscr...@spark.apache.org For additional commands, e-mail: reviews-h...@spark.apache.org