Github user XuTingjun commented on the pull request:
https://github.com/apache/spark/pull/9288#issuecomment-156078546
@andrewor14, yeah the ```DAGScheduler``` post events from a single thread,
but the root cause is that ```DAGScheduler``` receive the
```SparkListenerTaskEnd``` behind ```SparkListenerStageCompleted```.
I try to resolve the root cause, as you said scheduler is quite
complicated, my realization caused many unit tests failed. So if you OK with
doing a fix on the ```ExecutorAllocationManager``` side, I will fix update the
```ExecutorAllocationManager``` code.
---
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]