public class SpillListener extends Object implements SparkListener
SparkListener that detects whether spills have occurred in Spark jobs.| Constructor and Description |
|---|
SpillListener() |
| Modifier and Type | Method and Description |
|---|---|
int |
numSpilledStages() |
void |
onJobEnd(SparkListenerJobEnd jobEnd)
Called when a job ends
|
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
|
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitonApplicationEnd, onApplicationStart, onBlockManagerAdded, onBlockManagerRemoved, onBlockUpdated, onEnvironmentUpdate, onExecutorAdded, onExecutorMetricsUpdate, onExecutorRemoved, onJobStart, onStageSubmitted, onTaskGettingResult, onTaskStart, onUnpersistRDDpublic int numSpilledStages()
public void onTaskEnd(SparkListenerTaskEnd taskEnd)
SparkListeneronTaskEnd in interface SparkListenertaskEnd - (undocumented)public void onStageCompleted(SparkListenerStageCompleted stageComplete)
SparkListeneronStageCompleted in interface SparkListenerstageComplete - (undocumented)public void onJobEnd(SparkListenerJobEnd jobEnd)
SparkListeneronJobEnd in interface SparkListenerjobEnd - (undocumented)