Github user kayousterhout commented on the pull request:
https://github.com/apache/spark/pull/900#issuecomment-47148880
@tgravescs @li-zhihui I would be in favor of moving the wait earlier --
because currently every job will call waitBackendReady(), but really this
should just be called once when the app is initialized (since once it is ready,
it will never become un-ready with the current code). If at some point this
gets used to check the state of things between stages, as @tgravescs suggested,
we can then move it to be checked before each stage.
---
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.
---