AppStatusStore is…FIXME
AppStatusStore is created when:
-
SparkContextis created (that triggers creating a live store (i.e. an AppStatusStore for an active Spark application)) -
FsHistoryProvideris requested to create a LoadedAppUI
When created for a live Spark application, AppStatusStore creates a AppStatusListener that is later used to get the active stages.
streamBlocksList(): Seq[StreamBlockData]streamBlocksList…FIXME
|
Note
|
streamBlocksList is used when…FIXME
|
activeStages(): Seq[v1.StageData]activeStages…FIXME
|
Note
|
activeStages is used when…FIXME
|
AppStatusStore takes the following when created:
-
Optional AppStatusListener (default:
None)
createLiveStore(conf: SparkConf): AppStatusStorecreateLiveStore creates a fully-initialized AppStatusStore.
Internally, createLiveStore creates a ElementTrackingStore (with a new InMemoryStore and the input SparkConf).
createLiveStore creates a AppStatusListener (with the ElementTrackingStore created, the input SparkConf and the live flag enabled).
In the end, createLiveStore creates an AppStatusStore (with the ElementTrackingStore and AppStatusListener just created).
|
Note
|
createLiveStore is used exclusively when SparkContext is created.
|
close(): Unit|
Note
|
close is used when…FIXME
|
rddList(cachedOnly: Boolean = true): Seq[v1.RDDStorageInfo]In the end, rddList takes RDDStorageInfos with at least one partition cached (when cachedOnly flag is on) or all RDDStorageInfos (when cachedOnly flag is off).
|
Note
|
cachedOnly flag is on and therefore rddList gives RDDs cached only.
|
|
Note
|
|
