Github user mateiz commented on a diff in the pull request:
https://github.com/apache/spark/pull/9219#discussion_r42764498
--- Diff:
core/src/main/scala/org/apache/spark/scheduler/ShuffleMapStage.scala ---
@@ -43,35 +43,53 @@ private[spark] class ShuffleMapStage(
val shuffleDep: ShuffleDependency[_, _, _])
extends Stage(id, rdd, numTasks, parents, firstJobId, callSite) {
+ private[this] var _mapStageJobs: List[ActiveJob] = Nil
--- End diff --
This is if multiple threads submit the same stage with submitMapStage.
You're not bypassing the DAGScheduler when you do adaptive execution, you're
just telling it to run a map stage even if there's no result stage downstream.
But it still does all its standard stuff to figure out previous stages to
launch, track dependencies when recovering from failures, etc.
---
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.
---
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]