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()
Source
JobProgressListener.scala
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 isInstanceOf[T0]: Boolean

    Permalink
    Definition Classes
    Any
  22. def isTraceEnabled(): Boolean

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

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

    Permalink
  25. def log: Logger

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

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

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

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

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

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

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

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

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

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

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

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

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

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

    Permalink
    Definition Classes
    AnyRef
  40. var numCompletedJobs: Int

    Permalink
  41. var numCompletedStages: Int

    Permalink
  42. var numFailedJobs: Int

    Permalink
  43. var numFailedStages: Int

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

    Permalink

    Called when the application ends

    Called when the application ends

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

    Permalink

    Called when the application starts

    Called when the application starts

    Definition Classes
    JobProgressListenerSparkListener → SparkListenerInterface
  46. 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
  47. 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
  48. 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
  49. def onEnvironmentUpdate(environmentUpdate: SparkListenerEnvironmentUpdate): Unit

    Permalink

    Called when environment properties have been updated

    Called when environment properties have been updated

    Definition Classes
    JobProgressListenerSparkListener → SparkListenerInterface
  50. 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
  51. 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
  52. def onExecutorRemoved(executorRemoved: SparkListenerExecutorRemoved): Unit

    Permalink

    Called when the driver removes an executor.

    Called when the driver removes an executor.

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

    Permalink

    Called when a job ends

    Called when a job ends

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

    Permalink

    Called when a job starts

    Called when a job starts

    Definition Classes
    JobProgressListenerSparkListener → SparkListenerInterface
  55. 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
  56. 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
  57. 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
  58. def onTaskEnd(taskEnd: SparkListenerTaskEnd): Unit

    Permalink

    Called when a task ends

    Called when a task ends

    Definition Classes
    JobProgressListenerSparkListener → SparkListenerInterface
  59. 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
  60. def onTaskStart(taskStart: SparkListenerTaskStart): Unit

    Permalink

    Called when a task starts

    Called when a task starts

    Definition Classes
    JobProgressListenerSparkListener → SparkListenerInterface
  61. 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
  62. val pendingStages: HashMap[StageId, StageInfo]

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

    Permalink
  64. val retainedJobs: Int

    Permalink
  65. val retainedStages: Int

    Permalink
  66. var schedulingMode: Option[SchedulingMode]

    Permalink
  67. val skippedStages: ListBuffer[StageInfo]

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

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

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

    Permalink
  71. var startTime: Long

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

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

    Permalink
    Definition Classes
    AnyRef → Any
  74. def updateAggregateMetrics(stageData: StageUIData, execId: String, taskMetrics: TaskMetrics, oldMetrics: Option[TaskMetrics]): 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.

  75. final def wait(): Unit

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

    Permalink
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  77. 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