Skip to content

AppStatusPlugin

== [[AppStatusPlugin]] AppStatusPlugin -- Contract for

AppStatusPlugin is the <> for...FIXME

[source, scala]

package org.apache.spark.status

trait AppStatusPlugin { def setupListeners( conf: SparkConf, store: KVStore, addListenerFn: SparkListener => Unit, live: Boolean): Unit

def setupUI(ui: SparkUI): Unit }


NOTE: AppStatusPlugin is a private[spark] Scala trait.

.AppStatusPlugin Contract [cols="1,2",options="header",width="100%"] |=== | Method | Description

[[setupListeners]] setupListeners
[[setupUI]] setupUI
===

loadPlugins

loadPlugins(): Iterable[AppStatusPlugin]

loadPlugins...FIXME

loadPlugins is used when:

  • SparkContext is created
  • FsHistoryProvider is requested to spark-history-server:FsHistoryProvider.md#getAppUI[create a web UI]
  • AppStatusStore creates an in-memory store for a live Spark application

Last update: 2020-10-08