Skip to content
Snippets Groups Projects
Commit 403234dd authored by Mark Hamstra's avatar Mark Hamstra
Browse files

SparkListenerJobStart posted from local jobs

parent f55d0b93
No related branches found
No related tags found
No related merge requests found
...@@ -544,6 +544,7 @@ class DAGScheduler( ...@@ -544,6 +544,7 @@ class DAGScheduler(
logInfo("Missing parents: " + getMissingParentStages(finalStage)) logInfo("Missing parents: " + getMissingParentStages(finalStage))
if (allowLocal && finalStage.parents.size == 0 && partitions.length == 1) { if (allowLocal && finalStage.parents.size == 0 && partitions.length == 1) {
// Compute very short actions like first() or take() with no parent stages locally. // Compute very short actions like first() or take() with no parent stages locally.
listenerBus.post(SparkListenerJobStart(job, Array(), properties))
runLocally(job) runLocally(job)
} else { } else {
idToActiveJob(jobId) = job idToActiveJob(jobId) = job
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment