Github user vanzin commented on a diff in the pull request:
https://github.com/apache/spark/pull/1218#discussion_r15545860
--- Diff: core/src/main/scala/org/apache/spark/SparkContext.scala ---
@@ -1253,7 +1253,8 @@ class SparkContext(config: SparkConf) extends Logging
{
/** Post the application start event */
private def postApplicationStart() {
- listenerBus.post(SparkListenerApplicationStart(appName, startTime,
sparkUser))
+ listenerBus.post(SparkListenerApplicationStart(appName,
taskScheduler.applicationId(),
--- End diff --
I'll add a note. I did verify the order, and that's what I had to add some
synchronization for the standalone case, since it was returning "too early" for
this code to work.
See:
https://github.com/vanzin/spark/commit/0afd696d2458498cb7db8f1b6f9a18a81c7686f1
---
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.
---