|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
Objectorg.apache.spark.ui.storage.StorageListener
public class StorageListener
:: DeveloperApi :: A SparkListener that prepares information to be displayed on the BlockManagerUI.
This class is thread-safe (unlike JobProgressListener)
| Constructor Summary | |
|---|---|
StorageListener(StorageStatusListener storageStatusListener)
|
|
| Method Summary | |
|---|---|
scala.collection.mutable.Map<Object,RDDInfo> |
_rddInfoMap()
|
void |
onStageCompleted(SparkListenerStageCompleted stageCompleted)
Called when a stage completes successfully or fails, with information on the completed stage. |
void |
onStageSubmitted(SparkListenerStageSubmitted stageSubmitted)
Called when a stage is submitted |
void |
onTaskEnd(SparkListenerTaskEnd taskEnd)
Assumes the storage status list is fully up-to-date. |
void |
onUnpersistRDD(SparkListenerUnpersistRDD unpersistRDD)
Called when an RDD is manually unpersisted by the application |
scala.collection.Seq<RDDInfo> |
rddInfoList()
Filter RDD info to include only those with cached partitions |
scala.collection.Seq<StorageStatus> |
storageStatusList()
|
| Methods inherited from class Object |
|---|
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Methods inherited from interface org.apache.spark.scheduler.SparkListener |
|---|
onApplicationEnd, onApplicationStart, onBlockManagerAdded, onBlockManagerRemoved, onEnvironmentUpdate, onExecutorAdded, onExecutorMetricsUpdate, onExecutorRemoved, onJobEnd, onJobStart, onTaskGettingResult, onTaskStart |
| Constructor Detail |
|---|
public StorageListener(StorageStatusListener storageStatusListener)
| Method Detail |
|---|
public scala.collection.mutable.Map<Object,RDDInfo> _rddInfoMap()
public scala.collection.Seq<StorageStatus> storageStatusList()
public scala.collection.Seq<RDDInfo> rddInfoList()
public void onTaskEnd(SparkListenerTaskEnd taskEnd)
onTaskEnd in interface SparkListenertaskEnd - (undocumented)public void onStageSubmitted(SparkListenerStageSubmitted stageSubmitted)
SparkListener
onStageSubmitted in interface SparkListenerstageSubmitted - (undocumented)public void onStageCompleted(SparkListenerStageCompleted stageCompleted)
SparkListener
onStageCompleted in interface SparkListenerstageCompleted - (undocumented)public void onUnpersistRDD(SparkListenerUnpersistRDD unpersistRDD)
SparkListener
onUnpersistRDD in interface SparkListenerunpersistRDD - (undocumented)
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||