Skip to content

Commit

Permalink
[SPARK-6880][CORE] Use properties from ActiveJob associated with a Stage
Browse files Browse the repository at this point in the history
Applying fix from apache#6291 by Mark Hamstra
  • Loading branch information
mbautin committed May 21, 2015
1 parent aedf957 commit e1553a4
Showing 1 changed file with 3 additions and 6 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -808,12 +808,9 @@ class DAGScheduler(
}
}

val properties = if (jobIdToActiveJob.contains(jobId)) {
jobIdToActiveJob(stage.jobId).properties
} else {
// this stage will be assigned to "default" pool
null
}
// Use the scheduling pool, job group, description, etc. from an ActiveJob associated
// with this Stage
val properties = jobIdToActiveJob(jobId).properties

runningStages += stage
// SparkListenerStageSubmitted should be posted before testing whether tasks are
Expand Down

0 comments on commit e1553a4

Please sign in to comment.