Github user sryza commented on the pull request:
https://github.com/apache/spark/pull/5536#issuecomment-94611689
More broadly:
I agree with you that the current code is really really difficult to reason
about. When I added the ability to cancel executor requests, I spent a while
thinking about how we could rewrite everything to make the logic more intuitive
and wasn't able to come up with anything great. I definitely wouldn't rule out
the possibility that you can come up with something better. But given that, if
it's possible, it's likely not going to be an easy or quick task, I don't think
we should allow the prospect of a rewrite to hold us back from writing tests.
As long as we're stuck with the current code, they're an important way to help
us manage its complexity.
---
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]