Class

org.apache.spark.ui.jobs

JobProgressListener

Related Doc: package jobs

Permalink

class JobProgressListener extends SparkListener with Logging

:: DeveloperApi :: Tracks task-level information to be displayed in the UI.

All access to the data structures in this class must be synchronized on the class, since the UI thread and the EventBus loop may otherwise be reading and updating the internal data structures concurrently.

Annotations
@DeveloperApi()
Linear Supertypes
Logging, SparkListener, SparkListenerInterface, AnyRef, Any
Ordering
  1. Alphabetic
  2. By Inheritance
Inherited
  1. JobProgressListener
  2. Logging
  3. SparkListener
  4. SparkListenerInterface
  5. AnyRef
  6. Any
  1. Hide All
  2. Show All
Visibility
  1. Public
  2. All

Instance Constructors

  1. new JobProgressListener(conf: SparkConf)

    Permalink

Type Members

  1. type ExecutorId = String

    Permalink
  2. type JobGroupId = String

    Permalink
  3. type JobId = Int

    Permalink
  4. type PoolName = String

    Permalink
  5. type StageAttemptId = Int

    Permalink
  6. type StageId = Int

    Permalink

Value Members

  1. final def !=(arg0: Any): Boolean

    Permalink
    Definition Classes
    AnyRef → Any
  2. final def ##(): Int

    Permalink
    Definition Classes
    AnyRef → Any
  3. final def ==(arg0: Any): Boolean

    Permalink
    Definition Classes
    AnyRef → Any
  4. val activeJobs: HashMap[JobId, JobUIData]

    Permalink
  5. val activeStages: HashMap[StageId, StageInfo]

    Permalink
  6. final def asInstanceOf[T0]: T0

    Permalink
    Definition Classes
    Any
  7. def blockManagerIds: Seq[BlockManagerId]

    Permalink
  8. def clone(): AnyRef

    Permalink
    Attributes
    protected[java.lang]
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  9. val completedJobs: ListBuffer[JobUIData]

    Permalink
  10. val completedStages: ListBuffer[StageInfo]

    Permalink
  11. var endTime: Long

    Permalink
  12. final def eq(arg0: AnyRef): Boolean

    Permalink
    Definition Classes
    AnyRef
  13. def equals(arg0: Any): Boolean

    Permalink
    Definition Classes
    AnyRef → Any
  14. val executorIdToBlockManagerId: HashMap[String, BlockManagerId]

    Permalink
  15. val failedJobs: ListBuffer[JobUIData]

    Permalink
  16. val failedStages: ListBuffer[StageInfo]

    Permalink
  17. def finalize(): Unit

    Permalink
    Attributes
    protected[java.lang]
    Definition Classes
    AnyRef
    Annotations
    @throws( classOf[java.lang.Throwable] )
  18. final def getClass(): Class[_]

    Permalink
    Definition Classes
    AnyRef → Any
  19. def hashCode(): Int

    Permalink
    Definition Classes
    AnyRef → Any
  20. def initializeLogIfNecessary(isInterpreter: Boolean): Unit

    Permalink
    Attributes
    protected
    Definition Classes
    Logging
  21. final def isDebugEnabled: Boolean

    Permalink
    Attributes
    protected
    Definition Classes
    Logging
  22. final def isInfoEnabled: Boolean

    Permalink
    Attributes
    protected
    Definition Classes
    Logging
  23. final def isInstanceOf[T0]: Boolean

    Permalink
    Definition Classes
    Any
  24. final def isTraceEnabled: Boolean

    Permalink
    Attributes
    protected
    Definition Classes
    Logging
  25. val jobGroupToJobIds: HashMap[JobGroupId, HashSet[JobId]]

    Permalink
  26. val jobIdToData: HashMap[JobId, JobUIData]

    Permalink
  27. def log: Logger

    Permalink
    Attributes
    protected
    Definition Classes
    Logging
  28. def logDebug(msg: ⇒ String, throwable: Throwable): Unit

    Permalink
    Attributes
    protected
    Definition Classes
    Logging
  29. def logDebug(msg: ⇒ String): Unit

    Permalink
    Attributes
    protected
    Definition Classes
    Logging
  30. def logError(msg: ⇒ String, throwable: Throwable): Unit

    Permalink
    Attributes
    protected
    Definition Classes
    Logging
  31. def logError(msg: ⇒ String): Unit

    Permalink
    Attributes
    protected
    Definition Classes
    Logging
  32. def logInfo(msg: ⇒ String, throwable: Throwable): Unit

    Permalink
    Attributes
    protected
    Definition Classes
    Logging
  33. def logInfo(msg: ⇒ String): Unit

    Permalink
    Attributes
    protected
    Definition Classes
    Logging
  34. def logName: String

    Permalink
    Attributes
    protected
    Definition Classes
    Logging
  35. def logTrace(msg: ⇒ String, throwable: Throwable): Unit

    Permalink
    Attributes
    protected
    Definition Classes
    Logging
  36. def logTrace(msg: ⇒ String): Unit

    Permalink
    Attributes
    protected
    Definition Classes
    Logging
  37. def logWarning(msg: ⇒ String, throwable: Throwable): Unit

    Permalink
    Attributes
    protected
    Definition Classes
    Logging
  38. def logWarning(msg: ⇒ String): Unit

    Permalink
    Attributes
    protected
    Definition Classes
    Logging
  39. final def ne(arg0: AnyRef): Boolean

    Permalink
    Definition Classes
    AnyRef
  40. final def notify(): Unit

    Permalink
    Definition Classes
    AnyRef
  41. final def notifyAll(): Unit

    Permalink
    Definition Classes
    AnyRef
  42. var numCompletedJobs: Int

    Permalink
  43. var numCompletedStages: Int

    Permalink
  44. var numFailedJobs: Int

    Permalink
  45. var numFailedStages: Int

    Permalink
  46. def onApplicationEnd(appEnded: SparkListenerApplicationEnd): Unit

    Permalink

    Called when the application ends

    Called when the application ends

    Definition Classes
    JobProgressListenerSparkListener → SparkListenerInterface
  47. def onApplicationStart(appStarted: SparkListenerApplicationStart): Unit

    Permalink

    Called when the application starts

    Called when the application starts

    Definition Classes
    JobProgressListenerSparkListener → SparkListenerInterface
  48. def onBlockManagerAdded(blockManagerAdded: SparkListenerBlockManagerAdded): Unit

    Permalink

    Called when a new block manager has joined

    Called when a new block manager has joined

    Definition Classes
    JobProgressListenerSparkListener → SparkListenerInterface
  49. def onBlockManagerRemoved(blockManagerRemoved: SparkListenerBlockManagerRemoved): Unit

    Permalink

    Called when an existing block manager has been removed

    Called when an existing block manager has been removed

    Definition Classes
    JobProgressListenerSparkListener → SparkListenerInterface
  50. def onBlockUpdated(blockUpdated: SparkListenerBlockUpdated): Unit

    Permalink

    Called when the driver receives a block update info.

    Called when the driver receives a block update info.

    Definition Classes
    SparkListener → SparkListenerInterface
  51. def onEnvironmentUpdate(environmentUpdate: SparkListenerEnvironmentUpdate): Unit

    Permalink

    Called when environment properties have been updated

    Called when environment properties have been updated

    Definition Classes
    JobProgressListenerSparkListener → SparkListenerInterface
  52. def onExecutorAdded(executorAdded: SparkListenerExecutorAdded): Unit

    Permalink

    Called when the driver registers a new executor.

    Called when the driver registers a new executor.

    Definition Classes
    SparkListener → SparkListenerInterface
  53. def onExecutorMetricsUpdate(executorMetricsUpdate: SparkListenerExecutorMetricsUpdate): Unit

    Permalink

    Called when the driver receives task metrics from an executor in a heartbeat.

    Called when the driver receives task metrics from an executor in a heartbeat.

    Definition Classes
    JobProgressListenerSparkListener → SparkListenerInterface
  54. def onExecutorRemoved(executorRemoved: SparkListenerExecutorRemoved): Unit

    Permalink

    Called when the driver removes an executor.

    Called when the driver removes an executor.

    Definition Classes
    SparkListener → SparkListenerInterface
  55. def onJobEnd(jobEnd: SparkListenerJobEnd): Unit

    Permalink

    Called when a job ends

    Called when a job ends

    Definition Classes
    JobProgressListenerSparkListener → SparkListenerInterface
  56. def onJobStart(jobStart: SparkListenerJobStart): Unit

    Permalink

    Called when a job starts

    Called when a job starts

    Definition Classes
    JobProgressListenerSparkListener → SparkListenerInterface
  57. def onOtherEvent(event: SparkListenerEvent): Unit

    Permalink

    Called when other events like SQL-specific events are posted.

    Called when other events like SQL-specific events are posted.

    Definition Classes
    SparkListener → SparkListenerInterface
  58. def onStageCompleted(stageCompleted: SparkListenerStageCompleted): Unit

    Permalink

    Called when a stage completes successfully or fails, with information on the completed stage.

    Called when a stage completes successfully or fails, with information on the completed stage.

    Definition Classes
    JobProgressListenerSparkListener → SparkListenerInterface
  59. def onStageSubmitted(stageSubmitted: SparkListenerStageSubmitted): Unit

    Permalink

    For FIFO, all stages are contained by "default" pool but "default" pool here is meaningless

    For FIFO, all stages are contained by "default" pool but "default" pool here is meaningless

    Definition Classes
    JobProgressListenerSparkListener → SparkListenerInterface
  60. def onTaskEnd(taskEnd: SparkListenerTaskEnd): Unit

    Permalink

    Called when a task ends

    Called when a task ends

    Definition Classes
    JobProgressListenerSparkListener → SparkListenerInterface
  61. def onTaskGettingResult(taskGettingResult: SparkListenerTaskGettingResult): Unit

    Permalink

    Called when a task begins remotely fetching its result (will not be called for tasks that do not need to fetch the result remotely).

    Called when a task begins remotely fetching its result (will not be called for tasks that do not need to fetch the result remotely).

    Definition Classes
    JobProgressListenerSparkListener → SparkListenerInterface
  62. def onTaskStart(taskStart: SparkListenerTaskStart): Unit

    Permalink

    Called when a task starts

    Called when a task starts

    Definition Classes
    JobProgressListenerSparkListener → SparkListenerInterface
  63. def onUnpersistRDD(unpersistRDD: SparkListenerUnpersistRDD): Unit

    Permalink

    Called when an RDD is manually unpersisted by the application

    Called when an RDD is manually unpersisted by the application

    Definition Classes
    SparkListener → SparkListenerInterface
  64. val pendingStages: HashMap[StageId, StageInfo]

    Permalink
  65. val poolToActiveStages: HashMap[String, HashMap[Int, StageInfo]]

    Permalink
  66. val retainedJobs: Int

    Permalink
  67. val retainedStages: Int

    Permalink
  68. val retainedTasks: Int

    Permalink
  69. var schedulingMode: Option[SchedulingMode]

    Permalink
  70. val skippedStages: ListBuffer[StageInfo]

    Permalink
  71. val stageIdToActiveJobIds: HashMap[StageId, HashSet[JobId]]

    Permalink
  72. val stageIdToData: HashMap[(StageId, StageAttemptId), StageUIData]

    Permalink
  73. val stageIdToInfo: HashMap[StageId, StageInfo]

    Permalink
  74. var startTime: Long

    Permalink
  75. final def synchronized[T0](arg0: ⇒ T0): T0

    Permalink
    Definition Classes
    AnyRef
  76. def toString(): String

    Permalink
    Definition Classes
    AnyRef → Any
  77. def updateAggregateMetrics(stageData: StageUIData, execId: String, taskMetrics: TaskMetrics, oldMetrics: Option[TaskMetricsUIData]): Unit

    Permalink

    Upon receiving new metrics for a task, updates the per-stage and per-executor-per-stage aggregate metrics by calculating deltas between the currently recorded metrics and the new metrics.

  78. final def wait(): Unit

    Permalink
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  79. final def wait(arg0: Long, arg1: Int): Unit

    Permalink
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  80. final def wait(arg0: Long): Unit

    Permalink
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )

Inherited from Logging

Inherited from SparkListener

Inherited from SparkListenerInterface

Inherited from AnyRef

Inherited from Any

Ungrouped