Github user vanzin commented on a diff in the pull request:
https://github.com/apache/spark/pull/19681#discussion_r157016366
--- Diff: core/src/main/scala/org/apache/spark/SparkContext.scala ---
@@ -455,9 +457,14 @@ class SparkContext(config: SparkConf) extends Logging {
// For tests, do not enable the UI
None
}
- // Bind the UI before starting the task scheduler to communicate
- // the bound port to the cluster manager properly
- _ui.foreach(_.bind())
+ _ui.foreach { ui =>
+ // Load any plugins that might want to modify the UI.
+ AppStatusPlugin.loadPlugins().foreach(_.setupUI(ui))
--- End diff --
Let's continue the discussion on the other PR.
---
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]