Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
[SPARK-6880][CORE] Use properties from ActiveJob associated with a Stage
Applying fix from apache#6291 by Mark Hamstra
  • Loading branch information
mbautin committed May 21, 2015
commit e1553a46403a57d6980db63974ffb7dc22108240
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