Github user mridulm commented on a diff in the pull request:
https://github.com/apache/spark/pull/17925#discussion_r115928546
--- Diff: core/src/main/scala/org/apache/spark/scheduler/DAGScheduler.scala
---
@@ -1054,15 +1053,17 @@ class DAGScheduler(
return
}
+ // Mark the stage as submitted and send an event on the bus. If there
are pending tasks, submit
+ // them, otherwise immediately mark the stage as finished, and submit
any child stages.
+ stage.latestInfo.submissionTime = Some(clock.getTimeMillis())
--- End diff --
Interesting, had not noticed the change in behavior.
Since behavior of `SparkListenerStageSubmitted` is unfortunately not
documented, I agree that perhaps we should not change the semantics here (I am
curious if it actually impacts in reality, but good to err on side of caution).
---
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]