-
Notifications
You must be signed in to change notification settings - Fork 28.5k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Move SparkListenerBus out of DAGScheduler + Clean up
This PR introduces new SparkListenerEvents that are generated outside of DAGSchduler. Instead of going through multiple layers (SparkContext -> DAGScheduler -> SparkListenerBus) to post the event, we post them directly to sc.listenerBus (SparkContext -> SparkListenerBus). This commit also cleans up the initialization order of the UI and the schedulers in SparkContext, as well as variable names in DAGScheduler. Further, some tests create events with null TaskInfo, which causes NPE on certain UI listeners. This is now fixed.
- Loading branch information
1 parent
5d2cec1
commit 2981d61
Showing
14 changed files
with
327 additions
and
307 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.