-
Active Spark applications
-
Spark History Server
-
Spark Standalone cluster manager
-
Spark on Mesos cluster manager
|
Note
|
Spark on YARN uses a different web framework for the web UI. |
WebUI is used as the parent of WebUITabs.
package org.apache.spark.ui
abstract class WebUI {
// only required methods that have no implementation
// the others follow
def initialize(): Unit
}|
Note
|
WebUI is a private[spark] contract.
|
| Method | Description | ||
|---|---|---|---|
|
Used in implementations only to let them initialize their web components
|
| WebUI | Description |
|---|---|
|
|
|
|
|
Once bound to a Jetty HTTP server, WebUI is available at an HTTP port (and is used in the web URL as boundPort).
WebUI is available at a web URL, i.e. http://[publicHostName]:[boundPort]. The publicHostName is…FIXME and the boundPort is the port that the port the Jetty HTTP Server bound to.
| Name | Description |
|---|---|
|
Used when…FIXME |
|
Used when…FIXME |
|
Used when…FIXME |
|
Optional Used when…FIXME |
|
Defaults to the following if defined (in order):
Used exclusively when |
|
Used when…FIXME |
|
Tip
|
Enable Add the following line to Refer to Logging. |
WebUI takes the following when created:
WebUI initializes the internal registries and counters.
|
Note
|
WebUI is a Scala abstract class and cannot be created directly, but only as one of the implementations.
|
detachPage(page: WebUIPage): UnitdetachPage…FIXME
|
Note
|
detachPage is used when…FIXME
|
detachTab(tab: WebUITab): UnitdetachTab…FIXME
|
Note
|
detachTab is used when…FIXME
|
detachHandler(handler: ServletContextHandler): UnitdetachHandler…FIXME
|
Note
|
detachHandler is used when…FIXME
|
detachHandler(path: String): UnitdetachHandler…FIXME
|
Note
|
detachHandler is used when…FIXME
|
attachPage(page: WebUIPage): UnitInternally, attachPage creates the path of the WebUIPage that is / (forward slash) followed by the prefix of the page.
attachPage creates a HTTP request handler…FIXME
|
Note
|
|
attachTab(tab: WebUITab): UnitIn the end, attachTab adds the input WebUITab to WebUITab tabs.
|
Note
|
attachTab is used when…FIXME
|
addStaticHandler(resourceBase: String, path: String): UnitaddStaticHandler…FIXME
|
Note
|
addStaticHandler is used when…FIXME
|
attachHandler(handler: ServletContextHandler): UnitattachHandler simply adds the input Jetty ServletContextHandler to handlers registry and requests the ServerInfo to addHandler (only if the ServerInfo is defined).
|
Note
|
|
getBasePath: StringgetBasePath simply returns the base path.
|
Note
|
getBasePath is used exclusively when WebUITab is requested for the base path.
|
getTabs: Seq[WebUITab]getTabs simply returns the registered tabs.
|
Note
|
getTabs is used exclusively when WebUITab is requested for the header tabs.
|
getHandlers: Seq[ServletContextHandler]getHandlers simply returns the registered handlers.
|
Note
|
getHandlers is used when…FIXME
|
bind(): Unitbind…FIXME
|
Note
|
bind is used when…FIXME
|