diff options
author | Mark Hamstra <markhamstra@gmail.com> | 2013-11-26 22:25:20 -0800 |
---|---|---|
committer | Mark Hamstra <markhamstra@gmail.com> | 2013-12-03 09:57:32 -0800 |
commit | 403234dd0d63a7e89f3304d7bb31e3675d405a13 (patch) | |
tree | 10519a0a4435cb710ed0547a930a141eb75afadc | |
parent | f55d0b935d7c148f49b15932938e91150b64466f (diff) | |
download | spark-403234dd0d63a7e89f3304d7bb31e3675d405a13.tar.gz spark-403234dd0d63a7e89f3304d7bb31e3675d405a13.tar.bz2 spark-403234dd0d63a7e89f3304d7bb31e3675d405a13.zip |
SparkListenerJobStart posted from local jobs
-rw-r--r-- | core/src/main/scala/org/apache/spark/scheduler/DAGScheduler.scala | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/core/src/main/scala/org/apache/spark/scheduler/DAGScheduler.scala b/core/src/main/scala/org/apache/spark/scheduler/DAGScheduler.scala index b849867519..f9cd021dd3 100644 --- a/core/src/main/scala/org/apache/spark/scheduler/DAGScheduler.scala +++ b/core/src/main/scala/org/apache/spark/scheduler/DAGScheduler.scala @@ -544,6 +544,7 @@ class DAGScheduler( logInfo("Missing parents: " + getMissingParentStages(finalStage)) if (allowLocal && finalStage.parents.size == 0 && partitions.length == 1) { // Compute very short actions like first() or take() with no parent stages locally. + listenerBus.post(SparkListenerJobStart(job, Array(), properties)) runLocally(job) } else { idToActiveJob(jobId) = job |