Package org.apache.spark
Class SpillListener
Object
org.apache.spark.scheduler.SparkListener
org.apache.spark.SpillListener
- All Implemented Interfaces:
- SparkListenerInterface
A 
SparkListener that detects whether spills have occurred in Spark jobs.- 
Constructor SummaryConstructors
- 
Method SummaryModifier and TypeMethodDescriptionintvoidonStageCompleted(SparkListenerStageCompleted stageComplete) Called when a stage completes successfully or fails, with information on the completed stage.voidonTaskEnd(SparkListenerTaskEnd taskEnd) Called when a task endsMethods inherited from class org.apache.spark.scheduler.SparkListeneronApplicationEnd, 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, onUnschedulableTaskSetRemoved
- 
Constructor Details- 
SpillListenerpublic SpillListener()
 
- 
- 
Method Details- 
numSpilledStagespublic int numSpilledStages()
- 
onStageCompletedDescription copied from interface:SparkListenerInterfaceCalled when a stage completes successfully or fails, with information on the completed stage.- Specified by:
- onStageCompletedin interface- SparkListenerInterface
- Overrides:
- onStageCompletedin class- SparkListener
- Parameters:
- stageComplete- (undocumented)
 
- 
onTaskEndDescription copied from interface:SparkListenerInterfaceCalled when a task ends- Specified by:
- onTaskEndin interface- SparkListenerInterface
- Overrides:
- onTaskEndin class- SparkListener
- Parameters:
- taskEnd- (undocumented)
 
 
-