Github user suyanNone commented on a diff in the pull request:
https://github.com/apache/spark/pull/4055#discussion_r33861293
--- Diff: core/src/main/scala/org/apache/spark/scheduler/DAGScheduler.scala
---
@@ -1193,8 +1193,10 @@ class DAGScheduler(
// TODO: This will be really slow if we keep accumulating shuffle
map stages
for ((shuffleId, stage) <- shuffleToMapStage) {
stage.removeOutputsOnExecutor(execId)
- val locs = stage.outputLocs.map(list => if (list.isEmpty) null
else list.head).toArray
- mapOutputTracker.registerMapOutputs(shuffleId, locs, changeEpoch
= true)
+ if (!runningStages.contains(stage)) {
--- End diff --
Another things to claim, if we fix the problem described in that issues, we
may never meet some problem resulted by that 2 part code. it may not help for
that issue, do I need to create other issue for that 2.
---
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]