AppStatusListener
is a SparkListener that AppStatusStore
uses to…FIXME
AppStatusListener
is created when:
-
AppStatusStore
is requested to createLiveStore (with the live flag enabled) -
FsHistoryProvider
is requested to rebuildAppStore (with the live flag disabled)
Event | Handler |
---|---|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
Name | Description |
---|---|
|
|
|
|
|
|
|
Default: |
|
LiveRDDs by RDD ID |
|
|
|
|
|
|
|
|
|
|
|
onStageSubmitted(event: SparkListenerStageSubmitted): Unit
Note
|
onStageSubmitted is part of SparkListener Contract to…FIXME.
|
onStageSubmitted
…FIXME
update(entity: LiveEntity, now: Long, last: Boolean = false): Unit
update
simply requests the LiveEntity
to write (with the ElementTrackingStore as the store and the last
flag as checkTriggers
flag).
Note
|
update is used in event handlers (i.e. onApplicationStart , onExecutorRemoved , onJobEnd , onStageSubmitted , onTaskEnd , onStageCompleted ), liveUpdate, maybeUpdate, flush and updateRDDBlock.
|
maybeUpdate(entity: LiveEntity, now: Long): Unit
maybeUpdate
…FIXME
Note
|
maybeUpdate is used when…FIXME
|
liveUpdate(entity: LiveEntity, now: Long): Unit
liveUpdate
…FIXME
Note
|
liveUpdate is used when…FIXME
|
updateStreamBlock(event: SparkListenerBlockUpdated, stream: StreamBlockId): Unit
updateStreamBlock
…FIXME
Note
|
updateStreamBlock is used exclusively when AppStatusListener is requested to handle a SparkListenerBlockUpdated event (for a StreamBlockId).
|
onBlockUpdated(event: SparkListenerBlockUpdated): Unit
Note
|
onBlockUpdated is part of SparkListener Contract to…FIXME.
|
onBlockUpdated
simply dispatches to the following event-specific handlers (per BlockId type):
-
Ignores (swallows) the
SparkListenerBlockUpdated
event for the other types
AppStatusListener
takes the following when created:
AppStatusListener
initializes the internal registries and counters.
updateRDDBlock(event: SparkListenerBlockUpdated, block: RDDBlockId): Unit
updateRDDBlock
…FIXME
Note
|
updateRDDBlock is used exclusively when AppStatusListener is requested to handle a SparkListenerBlockUpdated event (for a RDDBlockId).
|