spark-instrumented-optimizer/core/src
Marcelo Vanzin 95aef660b7 [SPARK-20205][CORE] Make sure StageInfo is updated before sending event.
The DAGScheduler was sending a "stage submitted" event before it properly
updated the event's information. This meant that a listener (e.g. the
even logging listener) could record wrong information about the event.

This change sets the stage's submission time before the event is submitted,
when there are tasks to be executed in the stage.

Tested with existing unit tests.

Author: Marcelo Vanzin <vanzin@cloudera.com>

Closes #17925 from vanzin/SPARK-20205.
2017-05-24 16:57:17 -07:00
..
main [SPARK-20205][CORE] Make sure StageInfo is updated before sending event. 2017-05-24 16:57:17 -07:00
test [SPARK-18406][CORE] Race between end-of-task and completion iterator read lock release 2017-05-24 15:43:23 +08:00