Github user andrewor14 commented on a diff in the pull request:
https://github.com/apache/spark/pull/1218#discussion_r15482905
--- Diff:
core/src/main/scala/org/apache/spark/scheduler/cluster/SparkDeploySchedulerBackend.scala
---
@@ -63,6 +67,8 @@ private[spark] class SparkDeploySchedulerBackend(
client = new AppClient(sc.env.actorSystem, masters, appDesc, this,
conf)
client.start()
+
+ waitForRegistration()
--- End diff --
Is the purpose of this such that we will never post the application start
event before we have registered the app (or found out that registration was
unsuccessful)?
---
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.
---