Github user andrewor14 commented on a diff in the pull request:
https://github.com/apache/spark/pull/204#discussion_r11459562
--- Diff: core/src/main/scala/org/apache/spark/ui/WebUI.scala ---
@@ -20,6 +20,25 @@ package org.apache.spark.ui
import java.text.SimpleDateFormat
import java.util.Date
+private[spark] abstract class WebUI(name: String) {
--- End diff --
The main reason for doing this is to make a common interface for
MasterWebUI and HistoryServer to attach SparkUI's without each having to
re-implement the logic themselves.
In the future, when we want to extend SparkUI to include other tabs (e.g.
Streaming), this will be more necessary. An example of that is in this
[sub-PR](https://github.com/tdas/spark/pull/2).
---
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.
---