HistoryServer — WebUI For Active And Completed Spark Applications
HistoryServer
is the web UI for running (active) and completed Spark applications.
HistoryServer
uses the HttpServlet to handle requests to /*
URI that FIXME.
Name | Description |
---|---|
|
Used when…FIXME |
|
Java Servlets’ HttpServlet Used exclusively when |
Tip
|
Enable Add the following line to
Refer to Logging. |
attachSparkUI
Method
1 2 3 4 5 6 7 8 9 |
attachSparkUI( appId: String, attemptId: Option[String], ui: SparkUI, completed: Boolean): Unit |
Note
|
attachSparkUI is part of ApplicationCacheOperations Contract to…FIXME.
|
attachSparkUI
…FIXME
Initializing HistoryServer — initialize
Method
1 2 3 4 5 |
initialize(): Unit |
Note
|
initialize is part of WebUI Contract to initialize web components.
|
initialize
…FIXME
Launching HistoryServer Standalone Application — main
Method
1 2 3 4 5 |
main(argStrings: Array[String]): Unit |
main
…FIXME
Creating HistoryServer Instance
HistoryServer
takes the following when created:
HistoryServer
initializes the internal registries and counters.
Requesting Spark Application UI — getAppUI
Method
1 2 3 4 5 |
getAppUI(appId: String, attemptId: Option[String]): Option[LoadedAppUI] |
Note
|
getAppUI is part of ApplicationCacheOperations Contract to…FIXME.
|
getAppUI
…FIXME
withSparkUI
Method
1 2 3 4 5 |
withSparkUI[T](appId: String, attemptId: Option[String])(fn: SparkUI => T): T |
Note
|
withSparkUI is part of UIRoot Contract to…FIXME.
|
withSparkUI
…FIXME
loadAppUi
Internal Method
1 2 3 4 5 |
loadAppUi(appId: String, attemptId: Option[String]): Boolean |
loadAppUi
…FIXME
Note
|
loadAppUi is used exclusively when HistoryServer is created.
|
doGet
Method
1 2 3 4 5 |
doGet(req: HttpServletRequest, res: HttpServletResponse): Unit |
Note
|
doGet is part of Java Servlet’s HttpServlet to handle HTTP GET requests.
|
doGet
…FIXME
Note
|
doGet is used when…FIXME
|