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, 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
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. final def eq(arg0: AnyRef): Boolean

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

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

    Permalink
  14. val failedJobs: ListBuffer[JobUIData]

    Permalink
  15. val failedStages: ListBuffer[StageInfo]

    Permalink
  16. def finalize(): Unit

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

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

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

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

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

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

    Permalink
  23. def log: Logger

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

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

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

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

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

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

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

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

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

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

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

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

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

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

    Permalink
    Definition Classes
    AnyRef
  38. var numCompletedJobs: Int

    Permalink
  39. var numCompletedStages: Int

    Permalink
  40. var numFailedJobs: Int

    Permalink
  41. var numFailedStages: Int

    Permalink
  42. def onApplicationEnd(applicationEnd: SparkListenerApplicationEnd): Unit

    Permalink

    Called when the application ends

    Called when the application ends

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

    Permalink

    Called when the application starts

    Called when the application starts

    Definition Classes
    JobProgressListenerSparkListener
  44. 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
  45. 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
  46. 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
  47. def onEnvironmentUpdate(environmentUpdate: SparkListenerEnvironmentUpdate): Unit

    Permalink

    Called when environment properties have been updated

    Called when environment properties have been updated

    Definition Classes
    JobProgressListenerSparkListener
  48. 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
  49. 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
  50. def onExecutorRemoved(executorRemoved: SparkListenerExecutorRemoved): Unit

    Permalink

    Called when the driver removes an executor.

    Called when the driver removes an executor.

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

    Permalink

    Called when a job ends

    Called when a job ends

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

    Permalink

    Called when a job starts

    Called when a job starts

    Definition Classes
    JobProgressListenerSparkListener
  53. 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
  54. 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
  55. def onTaskEnd(taskEnd: SparkListenerTaskEnd): Unit

    Permalink

    Called when a task ends

    Called when a task ends

    Definition Classes
    JobProgressListenerSparkListener
  56. 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
  57. def onTaskStart(taskStart: SparkListenerTaskStart): Unit

    Permalink

    Called when a task starts

    Called when a task starts

    Definition Classes
    JobProgressListenerSparkListener
  58. 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
  59. val pendingStages: HashMap[StageId, StageInfo]

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

    Permalink
  61. val retainedJobs: Int

    Permalink
  62. val retainedStages: Int

    Permalink
  63. var schedulingMode: Option[SchedulingMode]

    Permalink
  64. val skippedStages: ListBuffer[StageInfo]

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

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

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

    Permalink
  68. var startTime: Long

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

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

    Permalink
    Definition Classes
    AnyRef → Any
  71. 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.

  72. final def wait(): Unit

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

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

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

Inherited from Logging

Inherited from SparkListener

Inherited from AnyRef

Inherited from Any

Ungrouped