Github user andrewor14 commented on a diff in the pull request:
https://github.com/apache/spark/pull/10951#discussion_r51510185
--- Diff: core/src/main/scala/org/apache/spark/scheduler/DAGScheduler.scala
---
@@ -1153,7 +1153,16 @@ class DAGScheduler(
}
if (!stageIdToStage.contains(task.stageId)) {
- // Skip all the actions if the stage has been cancelled.
+ logInfo("skip normal actions as stage cancelled")
+ // Need to handle tasks coming in late (speculative and jobs killed)
+ // post a task end event so accounting for things manually tracking
tasks work.
+ // This really should be something other then success since the
other speculative task
+ // finished first.
--- End diff --
I think there's a better way to always post this event. I have some changes
in #10958 to do this in a cleaner way:
https://github.com/apache/spark/pull/10958/files#r51510044
---
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]