Github user concretevitamin commented on the pull request:
https://github.com/apache/spark/pull/221#issuecomment-38610336
Thanks for the input, @andrewor14. Yeah exposing the listener bus enables
users to post events to it. I think your second workaround does the job and is
simpler to implement than the first; we could set the flag when the shut down
message is being processed (it is possible for the bus to be empty but there
are events coming). If everyone agrees I can close this PR & send in a new one.
---
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.
---