Github user sryza commented on the pull request:
https://github.com/apache/spark/pull/5536#issuecomment-94915882
Thanks for putting together those graphs Cheolsoo. I think they're really
helpful for thinking about this.
The side effect that I'm worried about is targetNumExecutors being higher
than it needs to be. To know what it "needs to be", we would also need lines
on the graph showing the number of running + pending tasks (not that I think
you should waste time on that - I think my deductions a couple comments above
should be proof that can happen). The without_fix graph confirms my suspicion
that the trouble starts arising when we start issuing kill requests. Before
that, targetNumExecutors never dives below 0. As soon as there are executors
pending removal, it does, which triggers the exception.
---
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]