public class ExecutorsListener extends SparkListener
Constructor and Description |
---|
ExecutorsListener(StorageStatusListener storageStatusListener,
SparkConf conf) |
Modifier and Type | Method and Description |
---|---|
scala.collection.Seq<StorageStatus> |
activeStorageStatusList() |
scala.collection.Seq<StorageStatus> |
deadStorageStatusList() |
scala.collection.mutable.ListBuffer<SparkListenerEvent> |
executorEvents() |
scala.collection.mutable.LinkedHashMap<String,org.apache.spark.ui.exec.ExecutorTaskSummary> |
executorToTaskSummary() |
void |
onApplicationStart(SparkListenerApplicationStart applicationStart)
Called when the application starts
|
void |
onExecutorAdded(SparkListenerExecutorAdded executorAdded)
Called when the driver registers a new executor.
|
void |
onExecutorRemoved(SparkListenerExecutorRemoved executorRemoved)
Called when the driver removes an executor.
|
void |
onTaskEnd(SparkListenerTaskEnd taskEnd)
Called when a task ends
|
void |
onTaskStart(SparkListenerTaskStart taskStart)
Called when a task starts
|
onApplicationEnd, onBlockManagerAdded, onBlockManagerRemoved, onBlockUpdated, onEnvironmentUpdate, onExecutorMetricsUpdate, onJobEnd, onJobStart, onOtherEvent, onStageCompleted, onStageSubmitted, onTaskGettingResult, onUnpersistRDD
public ExecutorsListener(StorageStatusListener storageStatusListener, SparkConf conf)
public scala.collection.mutable.LinkedHashMap<String,org.apache.spark.ui.exec.ExecutorTaskSummary> executorToTaskSummary()
public scala.collection.mutable.ListBuffer<SparkListenerEvent> executorEvents()
public scala.collection.Seq<StorageStatus> activeStorageStatusList()
public scala.collection.Seq<StorageStatus> deadStorageStatusList()
public void onExecutorAdded(SparkListenerExecutorAdded executorAdded)
onExecutorAdded
in class SparkListener
executorAdded
- (undocumented)public void onExecutorRemoved(SparkListenerExecutorRemoved executorRemoved)
onExecutorRemoved
in class SparkListener
executorRemoved
- (undocumented)public void onApplicationStart(SparkListenerApplicationStart applicationStart)
onApplicationStart
in class SparkListener
applicationStart
- (undocumented)public void onTaskStart(SparkListenerTaskStart taskStart)
onTaskStart
in class SparkListener
taskStart
- (undocumented)public void onTaskEnd(SparkListenerTaskEnd taskEnd)
onTaskEnd
in class SparkListener
taskEnd
- (undocumented)