Github user markgrover commented on the pull request:
https://github.com/apache/spark/pull/8093#issuecomment-130865695
Thanks @vanzin. I looked at #8007 and some pieces of it are definitely very
relevant. So, I will use some of the ideas from there.
In full disclosure, I did do a quick hack to see what I could do about the
race and I was able to get the UI to update. The code for that is at
https://github.com/markgrover/spark/compare/nm2...race
The semantics are - in the cases where onDisconnected wins the race, we
send a new message down the listener bus with the updated reason received from
the RemoveExecutor message when it arrives later on, which updates the UI.
However, I am going to try a second approach with some ideas from #8007 to
see if that can be used instead.
---
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]