public class SpillListener extends SparkListener
SparkListener that detects whether spills have occurred in Spark jobs.| Constructor and Description |
|---|
SpillListener() |
| Modifier and Type | Method and Description |
|---|---|
int |
numSpilledStages() |
void |
onStageCompleted(SparkListenerStageCompleted stageComplete)
Called when a stage completes successfully or fails, with information on the completed stage.
|
void |
onTaskEnd(SparkListenerTaskEnd taskEnd)
Called when a task ends
|
onApplicationEnd, onApplicationStart, onBlockManagerAdded, onBlockManagerRemoved, onBlockUpdated, onEnvironmentUpdate, onExecutorAdded, onExecutorBlacklisted, onExecutorBlacklistedForStage, onExecutorExcluded, onExecutorExcludedForStage, onExecutorMetricsUpdate, onExecutorRemoved, onExecutorUnblacklisted, onExecutorUnexcluded, onJobEnd, onJobStart, onNodeBlacklisted, onNodeBlacklistedForStage, onNodeExcluded, onNodeExcludedForStage, onNodeUnblacklisted, onNodeUnexcluded, onOtherEvent, onResourceProfileAdded, onSpeculativeTaskSubmitted, onStageExecutorMetrics, onStageSubmitted, onTaskGettingResult, onTaskStart, onUnpersistRDD, onUnschedulableTaskSetAdded, onUnschedulableTaskSetRemovedpublic int numSpilledStages()
public void onStageCompleted(SparkListenerStageCompleted stageComplete)
SparkListenerInterfaceonStageCompleted in interface SparkListenerInterfaceonStageCompleted in class SparkListenerstageComplete - (undocumented)public void onTaskEnd(SparkListenerTaskEnd taskEnd)
SparkListenerInterfaceonTaskEnd in interface SparkListenerInterfaceonTaskEnd in class SparkListenertaskEnd - (undocumented)