关注 spark技术分享,
撸spark源码 玩spark最佳实践

HistoryServer — WebUI For Active And Completed Spark Applications

HistoryServer — WebUI For Active And Completed Spark Applications

HistoryServer is the web UI for running (active) and completed Spark applications.

HistoryServer is created when…​FIXME

HistoryServer uses the HttpServlet to handle requests to /* URI that FIXME.

Table 1. HistoryServer’s Internal Properties (e.g. Registries, Counters and Flags)
Name Description

appCache

ApplicationCache

Used when…​FIXME

loaderServlet

Java Servlets’ HttpServlet

Used exclusively when HistoryServer is requested to initialize (and attaches the servlet to the web UI to handle /* URI)

Tip

Enable INFO logging level for org.apache.spark.deploy.history.HistoryServer logger to see what happens inside.

Add the following line to conf/log4j.properties:

Refer to Logging.

attachSparkUI Method

Note
attachSparkUI is part of ApplicationCacheOperations Contract to…​FIXME.

attachSparkUI…​FIXME

Initializing HistoryServer — initialize Method

Note
initialize is part of WebUI Contract to initialize web components.

initialize…​FIXME

Launching HistoryServer Standalone Application — main Method

main…​FIXME

Creating HistoryServer Instance

HistoryServer takes the following when created:

HistoryServer initializes the internal registries and counters.

Requesting Spark Application UI — getAppUI Method

Note
getAppUI is part of ApplicationCacheOperations Contract to…​FIXME.

getAppUI…​FIXME

withSparkUI Method

Note
withSparkUI is part of UIRoot Contract to…​FIXME.

withSparkUI…​FIXME

loadAppUi Internal Method

loadAppUi…​FIXME

Note
loadAppUi is used exclusively when HistoryServer is created.

doGet Method

Note
doGet is part of Java Servlet’s HttpServlet to handle HTTP GET requests.

doGet…​FIXME

Note
doGet is used when…​FIXME
赞(0) 打赏
未经允许不得转载:spark技术分享 » HistoryServer — WebUI For Active And Completed Spark Applications
分享到: 更多 (0)

关注公众号:spark技术分享

联系我们联系我们

觉得文章有用就打赏一下文章作者

支付宝扫一扫打赏

微信扫一扫打赏