Skip to content

ApplicationHistoryProvider

ApplicationHistoryProvider is an abstraction of history providers.

Contract

getApplicationInfo

getApplicationInfo(
  appId: String): Option[ApplicationInfo]

Used when...FIXME

getAppUI

getAppUI(
  appId: String,
  attemptId: Option[String]): Option[LoadedAppUI]

SparkUI for a given application (by appId)

Used when HistoryServer is requested for the UI of a Spark application

getListing

getListing(): Iterator[ApplicationInfo]

Used when...FIXME

onUIDetached

onUIDetached(
  appId: String,
  attemptId: Option[String],
  ui: SparkUI): Unit

Used when...FIXME

writeEventLogs

writeEventLogs(
  appId: String,
  attemptId: Option[String],
  zipStream: ZipOutputStream): Unit

Writes events to a stream

Used when...FIXME

Implementations

Back to top