org.apache.spark.ui.jobs

JobProgressListener

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, AnyRef, Any
Ordering
  1. Alphabetic
  2. By inheritance
Inherited
  1. JobProgressListener
  2. Logging
  3. SparkListener
  4. AnyRef
  5. Any
  1. Hide All
  2. Show all
Learn more about member selection
Visibility
  1. Public
  2. All

Instance Constructors

  1. new JobProgressListener(conf: SparkConf)

Type Members

  1. type ExecutorId = String

  2. type JobGroupId = String

  3. type JobId = Int

  4. type PoolName = String

  5. type StageAttemptId = Int

  6. type StageId = Int

Value Members

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

    Definition Classes
    AnyRef
  2. final def !=(arg0: Any): Boolean

    Definition Classes
    Any
  3. final def ##(): Int

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

    Definition Classes
    AnyRef
  5. final def ==(arg0: Any): Boolean

    Definition Classes
    Any
  6. val activeJobs: HashMap[JobId, JobUIData]

  7. val activeStages: HashMap[StageId, StageInfo]

  8. final def asInstanceOf[T0]: T0

    Definition Classes
    Any
  9. def blockManagerIds: Seq[BlockManagerId]

  10. def clone(): AnyRef

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

  12. val completedStages: ListBuffer[StageInfo]

  13. final def eq(arg0: AnyRef): Boolean

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

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

  16. val failedJobs: ListBuffer[JobUIData]

  17. val failedStages: ListBuffer[StageInfo]

  18. def finalize(): Unit

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

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

    Definition Classes
    AnyRef → Any
  21. final def isInstanceOf[T0]: Boolean

    Definition Classes
    Any
  22. def isTraceEnabled(): Boolean

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

  24. val jobIdToData: HashMap[JobId, JobUIData]

  25. def log: Logger

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

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

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

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

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

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

    Attributes
    protected
    Definition Classes
    Logging
  32. def logName: String

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

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

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

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

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

    Definition Classes
    AnyRef
  38. final def notify(): Unit

    Definition Classes
    AnyRef
  39. final def notifyAll(): Unit

    Definition Classes
    AnyRef
  40. var numCompletedJobs: Int

  41. var numCompletedStages: Int

  42. var numFailedJobs: Int

  43. var numFailedStages: Int

  44. def onApplicationEnd(applicationEnd: SparkListenerApplicationEnd): Unit

    Called when the application ends

    Called when the application ends

    Definition Classes
    SparkListener
  45. def onApplicationStart(appStarted: SparkListenerApplicationStart): Unit

    Called when the application starts

    Called when the application starts

    Definition Classes
    JobProgressListenerSparkListener
  46. def onBlockManagerAdded(blockManagerAdded: SparkListenerBlockManagerAdded): Unit

    Called when a new block manager has joined

    Called when a new block manager has joined

    Definition Classes
    JobProgressListenerSparkListener
  47. def onBlockManagerRemoved(blockManagerRemoved: SparkListenerBlockManagerRemoved): Unit

    Called when an existing block manager has been removed

    Called when an existing block manager has been removed

    Definition Classes
    JobProgressListenerSparkListener
  48. def onBlockUpdated(blockUpdated: SparkListenerBlockUpdated): Unit

    Called when the driver receives a block update info.

    Called when the driver receives a block update info.

    Definition Classes
    SparkListener
  49. def onEnvironmentUpdate(environmentUpdate: SparkListenerEnvironmentUpdate): Unit

    Called when environment properties have been updated

    Called when environment properties have been updated

    Definition Classes
    JobProgressListenerSparkListener
  50. def onExecutorAdded(executorAdded: SparkListenerExecutorAdded): Unit

    Called when the driver registers a new executor.

    Called when the driver registers a new executor.

    Definition Classes
    SparkListener
  51. def onExecutorMetricsUpdate(executorMetricsUpdate: SparkListenerExecutorMetricsUpdate): Unit

    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
  52. def onExecutorRemoved(executorRemoved: SparkListenerExecutorRemoved): Unit

    Called when the driver removes an executor.

    Called when the driver removes an executor.

    Definition Classes
    SparkListener
  53. def onJobEnd(jobEnd: SparkListenerJobEnd): Unit

    Called when a job ends

    Called when a job ends

    Definition Classes
    JobProgressListenerSparkListener
  54. def onJobStart(jobStart: SparkListenerJobStart): Unit

    Called when a job starts

    Called when a job starts

    Definition Classes
    JobProgressListenerSparkListener
  55. def onStageCompleted(stageCompleted: SparkListenerStageCompleted): Unit

    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
  56. def onStageSubmitted(stageSubmitted: SparkListenerStageSubmitted): Unit

    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
  57. def onTaskEnd(taskEnd: SparkListenerTaskEnd): Unit

    Called when a task ends

    Called when a task ends

    Definition Classes
    JobProgressListenerSparkListener
  58. def onTaskGettingResult(taskGettingResult: SparkListenerTaskGettingResult): Unit

    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
  59. def onTaskStart(taskStart: SparkListenerTaskStart): Unit

    Called when a task starts

    Called when a task starts

    Definition Classes
    JobProgressListenerSparkListener
  60. def onUnpersistRDD(unpersistRDD: SparkListenerUnpersistRDD): Unit

    Called when an RDD is manually unpersisted by the application

    Called when an RDD is manually unpersisted by the application

    Definition Classes
    SparkListener
  61. val pendingStages: HashMap[StageId, StageInfo]

  62. val poolToActiveStages: HashMap[String, HashMap[Int, StageInfo]]

  63. val retainedJobs: Int

  64. val retainedStages: Int

  65. var schedulingMode: Option[SchedulingMode]

  66. val skippedStages: ListBuffer[StageInfo]

  67. val stageIdToActiveJobIds: HashMap[StageId, HashSet[JobId]]

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

  69. val stageIdToInfo: HashMap[StageId, StageInfo]

  70. var startTime: Long

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

    Definition Classes
    AnyRef
  72. def toString(): String

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

    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.

  74. final def wait(): Unit

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

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

    Definition Classes
    AnyRef
    Annotations
    @throws( ... )

Inherited from Logging

Inherited from SparkListener

Inherited from AnyRef

Inherited from Any

Ungrouped