Packages

c

org.apache.spark.scheduler

StatsReportListener

class StatsReportListener extends SparkListener with Logging

:: DeveloperApi :: Simple SparkListener that logs a few summary statistics when each stage completes.

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

Instance Constructors

  1. new StatsReportListener()

Type Members

  1. implicit class LogStringContext extends AnyRef
    Definition Classes
    Logging

Value Members

  1. final def !=(arg0: Any): Boolean
    Definition Classes
    AnyRef → Any
  2. final def ##: Int
    Definition Classes
    AnyRef → Any
  3. final def ==(arg0: Any): Boolean
    Definition Classes
    AnyRef → Any
  4. final def asInstanceOf[T0]: T0
    Definition Classes
    Any
  5. def clone(): AnyRef
    Attributes
    protected[lang]
    Definition Classes
    AnyRef
    Annotations
    @throws(classOf[java.lang.CloneNotSupportedException]) @IntrinsicCandidate() @native()
  6. final def eq(arg0: AnyRef): Boolean
    Definition Classes
    AnyRef
  7. def equals(arg0: AnyRef): Boolean
    Definition Classes
    AnyRef → Any
  8. final def getClass(): Class[_ <: AnyRef]
    Definition Classes
    AnyRef → Any
    Annotations
    @IntrinsicCandidate() @native()
  9. def hashCode(): Int
    Definition Classes
    AnyRef → Any
    Annotations
    @IntrinsicCandidate() @native()
  10. def initializeLogIfNecessary(isInterpreter: Boolean, silent: Boolean): Boolean
    Attributes
    protected
    Definition Classes
    Logging
  11. def initializeLogIfNecessary(isInterpreter: Boolean): Unit
    Attributes
    protected
    Definition Classes
    Logging
  12. final def isInstanceOf[T0]: Boolean
    Definition Classes
    Any
  13. def isTraceEnabled(): Boolean
    Attributes
    protected
    Definition Classes
    Logging
  14. def log: Logger
    Attributes
    protected
    Definition Classes
    Logging
  15. def logDebug(msg: => String, throwable: Throwable): Unit
    Attributes
    protected
    Definition Classes
    Logging
  16. def logDebug(entry: LogEntry, throwable: Throwable): Unit
    Attributes
    protected
    Definition Classes
    Logging
  17. def logDebug(entry: LogEntry): Unit
    Attributes
    protected
    Definition Classes
    Logging
  18. def logDebug(msg: => String): Unit
    Attributes
    protected
    Definition Classes
    Logging
  19. def logError(msg: => String, throwable: Throwable): Unit
    Attributes
    protected
    Definition Classes
    Logging
  20. def logError(entry: LogEntry, throwable: Throwable): Unit
    Attributes
    protected
    Definition Classes
    Logging
  21. def logError(entry: LogEntry): Unit
    Attributes
    protected
    Definition Classes
    Logging
  22. def logError(msg: => String): Unit
    Attributes
    protected
    Definition Classes
    Logging
  23. def logInfo(msg: => String, throwable: Throwable): Unit
    Attributes
    protected
    Definition Classes
    Logging
  24. def logInfo(entry: LogEntry, throwable: Throwable): Unit
    Attributes
    protected
    Definition Classes
    Logging
  25. def logInfo(entry: LogEntry): Unit
    Attributes
    protected
    Definition Classes
    Logging
  26. def logInfo(msg: => String): Unit
    Attributes
    protected
    Definition Classes
    Logging
  27. def logName: String
    Attributes
    protected
    Definition Classes
    Logging
  28. def logTrace(msg: => String, throwable: Throwable): Unit
    Attributes
    protected
    Definition Classes
    Logging
  29. def logTrace(entry: LogEntry, throwable: Throwable): Unit
    Attributes
    protected
    Definition Classes
    Logging
  30. def logTrace(entry: LogEntry): Unit
    Attributes
    protected
    Definition Classes
    Logging
  31. def logTrace(msg: => String): Unit
    Attributes
    protected
    Definition Classes
    Logging
  32. def logWarning(msg: => String, throwable: Throwable): Unit
    Attributes
    protected
    Definition Classes
    Logging
  33. def logWarning(entry: LogEntry, throwable: Throwable): Unit
    Attributes
    protected
    Definition Classes
    Logging
  34. def logWarning(entry: LogEntry): Unit
    Attributes
    protected
    Definition Classes
    Logging
  35. def logWarning(msg: => String): Unit
    Attributes
    protected
    Definition Classes
    Logging
  36. final def ne(arg0: AnyRef): Boolean
    Definition Classes
    AnyRef
  37. final def notify(): Unit
    Definition Classes
    AnyRef
    Annotations
    @IntrinsicCandidate() @native()
  38. final def notifyAll(): Unit
    Definition Classes
    AnyRef
    Annotations
    @IntrinsicCandidate() @native()
  39. def onApplicationEnd(applicationEnd: SparkListenerApplicationEnd): Unit

    Called when the application ends

    Called when the application ends

    Definition Classes
    SparkListener → SparkListenerInterface
  40. def onApplicationStart(applicationStart: SparkListenerApplicationStart): Unit

    Called when the application starts

    Called when the application starts

    Definition Classes
    SparkListener → SparkListenerInterface
  41. def onBlockManagerAdded(blockManagerAdded: SparkListenerBlockManagerAdded): Unit

    Called when a new block manager has joined

    Called when a new block manager has joined

    Definition Classes
    SparkListener → SparkListenerInterface
  42. 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
    SparkListener → SparkListenerInterface
  43. 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 → SparkListenerInterface
  44. def onEnvironmentUpdate(environmentUpdate: SparkListenerEnvironmentUpdate): Unit

    Called when environment properties have been updated

    Called when environment properties have been updated

    Definition Classes
    SparkListener → SparkListenerInterface
  45. def onExecutorAdded(executorAdded: SparkListenerExecutorAdded): Unit

    Called when the driver registers a new executor.

    Called when the driver registers a new executor.

    Definition Classes
    SparkListener → SparkListenerInterface
  46. def onExecutorBlacklisted(executorBlacklisted: SparkListenerExecutorBlacklisted): Unit

    Called when the driver excludes an executor for a Spark application.

    Called when the driver excludes an executor for a Spark application.

    Definition Classes
    SparkListener → SparkListenerInterface
  47. def onExecutorBlacklistedForStage(executorBlacklistedForStage: SparkListenerExecutorBlacklistedForStage): Unit

    Called when the driver excludes an executor for a stage.

    Called when the driver excludes an executor for a stage.

    Definition Classes
    SparkListener → SparkListenerInterface
  48. def onExecutorExcluded(executorExcluded: SparkListenerExecutorExcluded): Unit

    Called when the driver excludes an executor for a Spark application.

    Called when the driver excludes an executor for a Spark application.

    Definition Classes
    SparkListener → SparkListenerInterface
  49. def onExecutorExcludedForStage(executorExcludedForStage: SparkListenerExecutorExcludedForStage): Unit

    Called when the driver excludes an executor for a stage.

    Called when the driver excludes an executor for a stage.

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

    Called when the driver removes an executor.

    Called when the driver removes an executor.

    Definition Classes
    SparkListener → SparkListenerInterface
  52. def onExecutorUnblacklisted(executorUnblacklisted: SparkListenerExecutorUnblacklisted): Unit

    Called when the driver re-enables a previously excluded executor.

    Called when the driver re-enables a previously excluded executor.

    Definition Classes
    SparkListener → SparkListenerInterface
  53. def onExecutorUnexcluded(executorUnexcluded: SparkListenerExecutorUnexcluded): Unit

    Called when the driver re-enables a previously excluded executor.

    Called when the driver re-enables a previously excluded executor.

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

    Called when a job ends

    Called when a job ends

    Definition Classes
    SparkListener → SparkListenerInterface
  55. def onJobStart(jobStart: SparkListenerJobStart): Unit

    Called when a job starts

    Called when a job starts

    Definition Classes
    SparkListener → SparkListenerInterface
  56. def onNodeBlacklisted(nodeBlacklisted: SparkListenerNodeBlacklisted): Unit

    Called when the driver excludes a node for a Spark application.

    Called when the driver excludes a node for a Spark application.

    Definition Classes
    SparkListener → SparkListenerInterface
  57. def onNodeBlacklistedForStage(nodeBlacklistedForStage: SparkListenerNodeBlacklistedForStage): Unit

    Called when the driver excludes a node for a stage.

    Called when the driver excludes a node for a stage.

    Definition Classes
    SparkListener → SparkListenerInterface
  58. def onNodeExcluded(nodeExcluded: SparkListenerNodeExcluded): Unit

    Called when the driver excludes a node for a Spark application.

    Called when the driver excludes a node for a Spark application.

    Definition Classes
    SparkListener → SparkListenerInterface
  59. def onNodeExcludedForStage(nodeExcludedForStage: SparkListenerNodeExcludedForStage): Unit

    Called when the driver excludes a node for a stage.

    Called when the driver excludes a node for a stage.

    Definition Classes
    SparkListener → SparkListenerInterface
  60. def onNodeUnblacklisted(nodeUnblacklisted: SparkListenerNodeUnblacklisted): Unit

    Called when the driver re-enables a previously excluded node.

    Called when the driver re-enables a previously excluded node.

    Definition Classes
    SparkListener → SparkListenerInterface
  61. def onNodeUnexcluded(nodeUnexcluded: SparkListenerNodeUnexcluded): Unit

    Called when the driver re-enables a previously excluded node.

    Called when the driver re-enables a previously excluded node.

    Definition Classes
    SparkListener → SparkListenerInterface
  62. def onOtherEvent(event: SparkListenerEvent): Unit

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

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

    Definition Classes
    SparkListener → SparkListenerInterface
  63. def onResourceProfileAdded(event: SparkListenerResourceProfileAdded): Unit

    Called when a Resource Profile is added to the manager.

    Called when a Resource Profile is added to the manager.

    Definition Classes
    SparkListener → SparkListenerInterface
  64. def onSpeculativeTaskSubmitted(speculativeTask: SparkListenerSpeculativeTaskSubmitted): Unit

    Called when a speculative task is submitted

    Called when a speculative task is submitted

    Definition Classes
    SparkListener → SparkListenerInterface
  65. 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
    StatsReportListenerSparkListener → SparkListenerInterface
  66. def onStageExecutorMetrics(executorMetrics: SparkListenerStageExecutorMetrics): Unit

    Called with the peak memory metrics for a given (executor, stage) combination.

    Called with the peak memory metrics for a given (executor, stage) combination. Note that this is only present when reading from the event log (as in the history server), and is never called in a live application.

    Definition Classes
    SparkListener → SparkListenerInterface
  67. def onStageSubmitted(stageSubmitted: SparkListenerStageSubmitted): Unit

    Called when a stage is submitted

    Called when a stage is submitted

    Definition Classes
    SparkListener → SparkListenerInterface
  68. def onTaskEnd(taskEnd: SparkListenerTaskEnd): Unit

    Called when a task ends

    Called when a task ends

    Definition Classes
    StatsReportListenerSparkListener → SparkListenerInterface
  69. 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
    SparkListener → SparkListenerInterface
  70. def onTaskStart(taskStart: SparkListenerTaskStart): Unit

    Called when a task starts

    Called when a task starts

    Definition Classes
    SparkListener → SparkListenerInterface
  71. 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 → SparkListenerInterface
  72. def onUnschedulableTaskSetAdded(unschedulableTaskSetAdded: SparkListenerUnschedulableTaskSetAdded): Unit

    Called when a taskset becomes unschedulable due to exludeOnFailure and dynamic allocation is enabled.

    Called when a taskset becomes unschedulable due to exludeOnFailure and dynamic allocation is enabled.

    Definition Classes
    SparkListener → SparkListenerInterface
  73. def onUnschedulableTaskSetRemoved(unschedulableTaskSetRemoved: SparkListenerUnschedulableTaskSetRemoved): Unit

    Called when an unschedulable taskset becomes schedulable and dynamic allocation is enabled.

    Called when an unschedulable taskset becomes schedulable and dynamic allocation is enabled.

    Definition Classes
    SparkListener → SparkListenerInterface
  74. final def synchronized[T0](arg0: => T0): T0
    Definition Classes
    AnyRef
  75. def toString(): String
    Definition Classes
    AnyRef → Any
  76. final def wait(arg0: Long, arg1: Int): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws(classOf[java.lang.InterruptedException])
  77. final def wait(arg0: Long): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws(classOf[java.lang.InterruptedException]) @native()
  78. final def wait(): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws(classOf[java.lang.InterruptedException])
  79. def withLogContext(context: HashMap[String, String])(body: => Unit): Unit
    Attributes
    protected
    Definition Classes
    Logging

Deprecated Value Members

  1. def finalize(): Unit
    Attributes
    protected[lang]
    Definition Classes
    AnyRef
    Annotations
    @throws(classOf[java.lang.Throwable]) @Deprecated
    Deprecated

    (Since version 9)

Inherited from Logging

Inherited from SparkListener

Inherited from SparkListenerInterface

Inherited from AnyRef

Inherited from Any

Ungrouped