Package org.apache.spark.scheduler
Class SparkListener
Object
org.apache.spark.scheduler.SparkListener
- All Implemented Interfaces:
org.apache.spark.scheduler.SparkListenerInterface
- Direct Known Subclasses:
StatsReportListener
public abstract class SparkListener
extends Object
implements org.apache.spark.scheduler.SparkListenerInterface
:: DeveloperApi ::
A default implementation for
SparkListenerInterface that has no-op implementations for
all callbacks.
Note that this is an internal interface which might change in different Spark releases.
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoidonApplicationEnd(SparkListenerApplicationEnd applicationEnd) voidonApplicationStart(SparkListenerApplicationStart applicationStart) voidonBlockManagerAdded(SparkListenerBlockManagerAdded blockManagerAdded) voidonBlockManagerRemoved(SparkListenerBlockManagerRemoved blockManagerRemoved) voidonBlockUpdated(SparkListenerBlockUpdated blockUpdated) voidonEnvironmentUpdate(SparkListenerEnvironmentUpdate environmentUpdate) voidonExecutorAdded(SparkListenerExecutorAdded executorAdded) voidonExecutorBlacklisted(SparkListenerExecutorBlacklisted executorBlacklisted) voidonExecutorBlacklistedForStage(SparkListenerExecutorBlacklistedForStage executorBlacklistedForStage) voidonExecutorExcluded(SparkListenerExecutorExcluded executorExcluded) voidonExecutorExcludedForStage(SparkListenerExecutorExcludedForStage executorExcludedForStage) voidonExecutorMetricsUpdate(SparkListenerExecutorMetricsUpdate executorMetricsUpdate) voidonExecutorRemoved(SparkListenerExecutorRemoved executorRemoved) voidonExecutorUnblacklisted(SparkListenerExecutorUnblacklisted executorUnblacklisted) voidonExecutorUnexcluded(SparkListenerExecutorUnexcluded executorUnexcluded) voidonJobEnd(SparkListenerJobEnd jobEnd) voidonJobStart(SparkListenerJobStart jobStart) voidonNodeBlacklisted(SparkListenerNodeBlacklisted nodeBlacklisted) voidonNodeBlacklistedForStage(SparkListenerNodeBlacklistedForStage nodeBlacklistedForStage) voidonNodeExcluded(SparkListenerNodeExcluded nodeExcluded) voidonNodeExcludedForStage(SparkListenerNodeExcludedForStage nodeExcludedForStage) voidonNodeUnblacklisted(SparkListenerNodeUnblacklisted nodeUnblacklisted) voidonNodeUnexcluded(SparkListenerNodeUnexcluded nodeUnexcluded) voidonOtherEvent(SparkListenerEvent event) voidvoidonSpeculativeTaskSubmitted(SparkListenerSpeculativeTaskSubmitted speculativeTask) voidonStageCompleted(SparkListenerStageCompleted stageCompleted) voidonStageExecutorMetrics(SparkListenerStageExecutorMetrics executorMetrics) voidonStageSubmitted(SparkListenerStageSubmitted stageSubmitted) voidonTaskEnd(SparkListenerTaskEnd taskEnd) voidonTaskGettingResult(SparkListenerTaskGettingResult taskGettingResult) voidonTaskStart(SparkListenerTaskStart taskStart) voidonUnpersistRDD(SparkListenerUnpersistRDD unpersistRDD) voidonUnschedulableTaskSetAdded(SparkListenerUnschedulableTaskSetAdded unschedulableTaskSetAdded) voidonUnschedulableTaskSetRemoved(SparkListenerUnschedulableTaskSetRemoved unschedulableTaskSetRemoved)
-
Constructor Details
-
SparkListener
public SparkListener()
-
-
Method Details
-
onApplicationEnd
- Specified by:
onApplicationEndin interfaceorg.apache.spark.scheduler.SparkListenerInterface
-
onApplicationStart
- Specified by:
onApplicationStartin interfaceorg.apache.spark.scheduler.SparkListenerInterface
-
onBlockManagerAdded
- Specified by:
onBlockManagerAddedin interfaceorg.apache.spark.scheduler.SparkListenerInterface
-
onBlockManagerRemoved
- Specified by:
onBlockManagerRemovedin interfaceorg.apache.spark.scheduler.SparkListenerInterface
-
onBlockUpdated
- Specified by:
onBlockUpdatedin interfaceorg.apache.spark.scheduler.SparkListenerInterface
-
onEnvironmentUpdate
- Specified by:
onEnvironmentUpdatein interfaceorg.apache.spark.scheduler.SparkListenerInterface
-
onExecutorAdded
- Specified by:
onExecutorAddedin interfaceorg.apache.spark.scheduler.SparkListenerInterface
-
onExecutorBlacklisted
- Specified by:
onExecutorBlacklistedin interfaceorg.apache.spark.scheduler.SparkListenerInterface
-
onExecutorBlacklistedForStage
public void onExecutorBlacklistedForStage(SparkListenerExecutorBlacklistedForStage executorBlacklistedForStage) - Specified by:
onExecutorBlacklistedForStagein interfaceorg.apache.spark.scheduler.SparkListenerInterface
-
onExecutorExcluded
- Specified by:
onExecutorExcludedin interfaceorg.apache.spark.scheduler.SparkListenerInterface
-
onExecutorExcludedForStage
public void onExecutorExcludedForStage(SparkListenerExecutorExcludedForStage executorExcludedForStage) - Specified by:
onExecutorExcludedForStagein interfaceorg.apache.spark.scheduler.SparkListenerInterface
-
onExecutorMetricsUpdate
- Specified by:
onExecutorMetricsUpdatein interfaceorg.apache.spark.scheduler.SparkListenerInterface
-
onExecutorRemoved
- Specified by:
onExecutorRemovedin interfaceorg.apache.spark.scheduler.SparkListenerInterface
-
onExecutorUnblacklisted
- Specified by:
onExecutorUnblacklistedin interfaceorg.apache.spark.scheduler.SparkListenerInterface
-
onExecutorUnexcluded
- Specified by:
onExecutorUnexcludedin interfaceorg.apache.spark.scheduler.SparkListenerInterface
-
onJobEnd
- Specified by:
onJobEndin interfaceorg.apache.spark.scheduler.SparkListenerInterface
-
onJobStart
- Specified by:
onJobStartin interfaceorg.apache.spark.scheduler.SparkListenerInterface
-
onNodeBlacklisted
- Specified by:
onNodeBlacklistedin interfaceorg.apache.spark.scheduler.SparkListenerInterface
-
onNodeBlacklistedForStage
- Specified by:
onNodeBlacklistedForStagein interfaceorg.apache.spark.scheduler.SparkListenerInterface
-
onNodeExcluded
- Specified by:
onNodeExcludedin interfaceorg.apache.spark.scheduler.SparkListenerInterface
-
onNodeExcludedForStage
- Specified by:
onNodeExcludedForStagein interfaceorg.apache.spark.scheduler.SparkListenerInterface
-
onNodeUnblacklisted
- Specified by:
onNodeUnblacklistedin interfaceorg.apache.spark.scheduler.SparkListenerInterface
-
onNodeUnexcluded
- Specified by:
onNodeUnexcludedin interfaceorg.apache.spark.scheduler.SparkListenerInterface
-
onOtherEvent
- Specified by:
onOtherEventin interfaceorg.apache.spark.scheduler.SparkListenerInterface
-
onResourceProfileAdded
- Specified by:
onResourceProfileAddedin interfaceorg.apache.spark.scheduler.SparkListenerInterface
-
onSpeculativeTaskSubmitted
- Specified by:
onSpeculativeTaskSubmittedin interfaceorg.apache.spark.scheduler.SparkListenerInterface
-
onStageCompleted
- Specified by:
onStageCompletedin interfaceorg.apache.spark.scheduler.SparkListenerInterface
-
onStageExecutorMetrics
- Specified by:
onStageExecutorMetricsin interfaceorg.apache.spark.scheduler.SparkListenerInterface
-
onStageSubmitted
- Specified by:
onStageSubmittedin interfaceorg.apache.spark.scheduler.SparkListenerInterface
-
onTaskEnd
- Specified by:
onTaskEndin interfaceorg.apache.spark.scheduler.SparkListenerInterface
-
onTaskGettingResult
- Specified by:
onTaskGettingResultin interfaceorg.apache.spark.scheduler.SparkListenerInterface
-
onTaskStart
- Specified by:
onTaskStartin interfaceorg.apache.spark.scheduler.SparkListenerInterface
-
onUnpersistRDD
- Specified by:
onUnpersistRDDin interfaceorg.apache.spark.scheduler.SparkListenerInterface
-
onUnschedulableTaskSetAdded
public void onUnschedulableTaskSetAdded(SparkListenerUnschedulableTaskSetAdded unschedulableTaskSetAdded) - Specified by:
onUnschedulableTaskSetAddedin interfaceorg.apache.spark.scheduler.SparkListenerInterface
-
onUnschedulableTaskSetRemoved
public void onUnschedulableTaskSetRemoved(SparkListenerUnschedulableTaskSetRemoved unschedulableTaskSetRemoved) - Specified by:
onUnschedulableTaskSetRemovedin interfaceorg.apache.spark.scheduler.SparkListenerInterface
-