public class SparkFirehoseListener extends Object implements SparkListenerInterface
| Constructor and Description |
|---|
SparkFirehoseListener() |
| Modifier and Type | Method and Description |
|---|---|
void |
onApplicationEnd(SparkListenerApplicationEnd applicationEnd)
Called when the application ends
|
void |
onApplicationStart(SparkListenerApplicationStart applicationStart)
Called when the application starts
|
void |
onBlockManagerAdded(SparkListenerBlockManagerAdded blockManagerAdded)
Called when a new block manager has joined
|
void |
onBlockManagerRemoved(SparkListenerBlockManagerRemoved blockManagerRemoved)
Called when an existing block manager has been removed
|
void |
onBlockUpdated(SparkListenerBlockUpdated blockUpdated)
Called when the driver receives a block update info.
|
void |
onEnvironmentUpdate(SparkListenerEnvironmentUpdate environmentUpdate)
Called when environment properties have been updated
|
void |
onEvent(SparkListenerEvent event) |
void |
onExecutorAdded(SparkListenerExecutorAdded executorAdded)
Called when the driver registers a new executor.
|
void |
onExecutorBlacklisted(SparkListenerExecutorBlacklisted executorBlacklisted)
Called when the driver blacklists an executor for a Spark application.
|
void |
onExecutorBlacklistedForStage(SparkListenerExecutorBlacklistedForStage executorBlacklistedForStage)
Called when the driver blacklists an executor for a stage.
|
void |
onExecutorMetricsUpdate(SparkListenerExecutorMetricsUpdate executorMetricsUpdate)
Called when the driver receives task metrics from an executor in a heartbeat.
|
void |
onExecutorRemoved(SparkListenerExecutorRemoved executorRemoved)
Called when the driver removes an executor.
|
void |
onExecutorUnblacklisted(SparkListenerExecutorUnblacklisted executorUnblacklisted)
Called when the driver re-enables a previously blacklisted executor.
|
void |
onJobEnd(SparkListenerJobEnd jobEnd)
Called when a job ends
|
void |
onJobStart(SparkListenerJobStart jobStart)
Called when a job starts
|
void |
onNodeBlacklisted(SparkListenerNodeBlacklisted nodeBlacklisted)
Called when the driver blacklists a node for a Spark application.
|
void |
onNodeBlacklistedForStage(SparkListenerNodeBlacklistedForStage nodeBlacklistedForStage)
Called when the driver blacklists a node for a stage.
|
void |
onNodeUnblacklisted(SparkListenerNodeUnblacklisted nodeUnblacklisted)
Called when the driver re-enables a previously blacklisted node.
|
void |
onOtherEvent(SparkListenerEvent event)
Called when other events like SQL-specific events are posted.
|
void |
onSpeculativeTaskSubmitted(SparkListenerSpeculativeTaskSubmitted speculativeTask)
Called when a speculative task is submitted
|
void |
onStageCompleted(SparkListenerStageCompleted stageCompleted)
Called when a stage completes successfully or fails, with information on the completed stage.
|
void |
onStageExecutorMetrics(SparkListenerStageExecutorMetrics executorMetrics)
Called with the peak memory metrics for a given (executor, stage) combination.
|
void |
onStageSubmitted(SparkListenerStageSubmitted stageSubmitted)
Called when a stage is submitted
|
void |
onTaskEnd(SparkListenerTaskEnd taskEnd)
Called when a task ends
|
void |
onTaskGettingResult(SparkListenerTaskGettingResult taskGettingResult)
Called when a task begins remotely fetching its result (will not be called for tasks that do
not need to fetch the result remotely).
|
void |
onTaskStart(SparkListenerTaskStart taskStart)
Called when a task starts
|
void |
onUnpersistRDD(SparkListenerUnpersistRDD unpersistRDD)
Called when an RDD is manually unpersisted by the application
|
public void onEvent(SparkListenerEvent event)
public final void onStageCompleted(SparkListenerStageCompleted stageCompleted)
SparkListenerInterfaceonStageCompleted in interface SparkListenerInterfacestageCompleted - (undocumented)public final void onStageSubmitted(SparkListenerStageSubmitted stageSubmitted)
SparkListenerInterfaceonStageSubmitted in interface SparkListenerInterfacestageSubmitted - (undocumented)public final void onTaskStart(SparkListenerTaskStart taskStart)
SparkListenerInterfaceonTaskStart in interface SparkListenerInterfacetaskStart - (undocumented)public final void onTaskGettingResult(SparkListenerTaskGettingResult taskGettingResult)
SparkListenerInterfaceonTaskGettingResult in interface SparkListenerInterfacetaskGettingResult - (undocumented)public final void onTaskEnd(SparkListenerTaskEnd taskEnd)
SparkListenerInterfaceonTaskEnd in interface SparkListenerInterfacetaskEnd - (undocumented)public final void onJobStart(SparkListenerJobStart jobStart)
SparkListenerInterfaceonJobStart in interface SparkListenerInterfacejobStart - (undocumented)public final void onJobEnd(SparkListenerJobEnd jobEnd)
SparkListenerInterfaceonJobEnd in interface SparkListenerInterfacejobEnd - (undocumented)public final void onEnvironmentUpdate(SparkListenerEnvironmentUpdate environmentUpdate)
SparkListenerInterfaceonEnvironmentUpdate in interface SparkListenerInterfaceenvironmentUpdate - (undocumented)public final void onBlockManagerAdded(SparkListenerBlockManagerAdded blockManagerAdded)
SparkListenerInterfaceonBlockManagerAdded in interface SparkListenerInterfaceblockManagerAdded - (undocumented)public final void onBlockManagerRemoved(SparkListenerBlockManagerRemoved blockManagerRemoved)
SparkListenerInterfaceonBlockManagerRemoved in interface SparkListenerInterfaceblockManagerRemoved - (undocumented)public final void onUnpersistRDD(SparkListenerUnpersistRDD unpersistRDD)
SparkListenerInterfaceonUnpersistRDD in interface SparkListenerInterfaceunpersistRDD - (undocumented)public final void onApplicationStart(SparkListenerApplicationStart applicationStart)
SparkListenerInterfaceonApplicationStart in interface SparkListenerInterfaceapplicationStart - (undocumented)public final void onApplicationEnd(SparkListenerApplicationEnd applicationEnd)
SparkListenerInterfaceonApplicationEnd in interface SparkListenerInterfaceapplicationEnd - (undocumented)public final void onExecutorMetricsUpdate(SparkListenerExecutorMetricsUpdate executorMetricsUpdate)
SparkListenerInterfaceonExecutorMetricsUpdate in interface SparkListenerInterfaceexecutorMetricsUpdate - (undocumented)public final void onStageExecutorMetrics(SparkListenerStageExecutorMetrics executorMetrics)
SparkListenerInterfaceonStageExecutorMetrics in interface SparkListenerInterfaceexecutorMetrics - (undocumented)public final void onExecutorAdded(SparkListenerExecutorAdded executorAdded)
SparkListenerInterfaceonExecutorAdded in interface SparkListenerInterfaceexecutorAdded - (undocumented)public final void onExecutorRemoved(SparkListenerExecutorRemoved executorRemoved)
SparkListenerInterfaceonExecutorRemoved in interface SparkListenerInterfaceexecutorRemoved - (undocumented)public final void onExecutorBlacklisted(SparkListenerExecutorBlacklisted executorBlacklisted)
SparkListenerInterfaceonExecutorBlacklisted in interface SparkListenerInterfaceexecutorBlacklisted - (undocumented)public void onExecutorBlacklistedForStage(SparkListenerExecutorBlacklistedForStage executorBlacklistedForStage)
SparkListenerInterfaceonExecutorBlacklistedForStage in interface SparkListenerInterfaceexecutorBlacklistedForStage - (undocumented)public void onNodeBlacklistedForStage(SparkListenerNodeBlacklistedForStage nodeBlacklistedForStage)
SparkListenerInterfaceonNodeBlacklistedForStage in interface SparkListenerInterfacenodeBlacklistedForStage - (undocumented)public final void onExecutorUnblacklisted(SparkListenerExecutorUnblacklisted executorUnblacklisted)
SparkListenerInterfaceonExecutorUnblacklisted in interface SparkListenerInterfaceexecutorUnblacklisted - (undocumented)public final void onNodeBlacklisted(SparkListenerNodeBlacklisted nodeBlacklisted)
SparkListenerInterfaceonNodeBlacklisted in interface SparkListenerInterfacenodeBlacklisted - (undocumented)public final void onNodeUnblacklisted(SparkListenerNodeUnblacklisted nodeUnblacklisted)
SparkListenerInterfaceonNodeUnblacklisted in interface SparkListenerInterfacenodeUnblacklisted - (undocumented)public void onBlockUpdated(SparkListenerBlockUpdated blockUpdated)
SparkListenerInterfaceonBlockUpdated in interface SparkListenerInterfaceblockUpdated - (undocumented)public void onSpeculativeTaskSubmitted(SparkListenerSpeculativeTaskSubmitted speculativeTask)
SparkListenerInterfaceonSpeculativeTaskSubmitted in interface SparkListenerInterfacespeculativeTask - (undocumented)public void onOtherEvent(SparkListenerEvent event)
SparkListenerInterfaceonOtherEvent in interface SparkListenerInterfaceevent - (undocumented)