Github user andrewor14 commented on a diff in the pull request:
https://github.com/apache/spark/pull/2696#discussion_r18993930
--- Diff: core/src/main/scala/org/apache/spark/ui/SparkUI.scala ---
@@ -116,4 +99,23 @@ private[spark] object SparkUI {
def getUIPort(conf: SparkConf): Int = {
conf.getInt("spark.ui.port", SparkUI.DEFAULT_PORT)
}
+
+ // Called by HistoryServer and Master when reconstituting a SparkUI from
event logs:
+ def create(conf: SparkConf, listenerBus: SparkListenerBus,
securityManager: SecurityManager,
--- End diff --
Seems like the `listenerBus` here will always be a `ReplayListenerBus`. I
think you can make it tighter and maybe rename this `createForReplay`
---
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]