Class

org.apache.spark.sql.execution.ui

SnappySQLListener

Related Doc: package ui

Permalink

class SnappySQLListener extends SQLListener

Snappy's SQL Listener.

Linear Supertypes
SQLListener, internal.Logging, SparkListener, SparkListenerInterface, AnyRef, Any
Ordering
  1. Alphabetic
  2. By Inheritance
Inherited
  1. SnappySQLListener
  2. SQLListener
  3. Logging
  4. SparkListener
  5. SparkListenerInterface
  6. AnyRef
  7. Any
  1. Hide All
  2. Show All
Visibility
  1. Public
  2. All

Instance Constructors

  1. new SnappySQLListener(conf: SparkConf, source: SQLListener)

    Permalink
  2. new SnappySQLListener(conf: SparkConf)

    Permalink

    conf

    SparkConf of active SparkContext

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. final def asInstanceOf[T0]: T0

    Permalink
    Definition Classes
    Any
  5. def clone(): AnyRef

    Permalink
    Attributes
    protected[java.lang]
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  6. def copyDataFromSourceListener(): Unit

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

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

    Permalink
    Definition Classes
    AnyRef → Any
  9. def executionIdToData: Map[Long, SQLExecutionUIData]

    Permalink
    Definition Classes
    SQLListener
  10. def finalize(): Unit

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

    Permalink
    Definition Classes
    AnyRef → Any
  12. def getCompletedExecutions: Seq[SQLExecutionUIData]

    Permalink
    Definition Classes
    SQLListener
  13. def getExecution(executionId: Long): Option[SQLExecutionUIData]

    Permalink
    Definition Classes
    SQLListener
  14. def getExecutionMetrics(executionId: Long): Map[Long, String]

    Permalink

    Get all accumulator updates from all tasks which belong to this execution and merge them.

    Get all accumulator updates from all tasks which belong to this execution and merge them.

    Definition Classes
    SQLListener
  15. def getFailedExecutions: Seq[SQLExecutionUIData]

    Permalink
    Definition Classes
    SQLListener
  16. def getInternalField(fieldName: String, listenerObject: SQLListener = this): Any

    Permalink
  17. def getRunningExecutions: Seq[SQLExecutionUIData]

    Permalink
    Definition Classes
    SQLListener
  18. def hashCode(): Int

    Permalink
    Definition Classes
    AnyRef → Any
  19. def initializeLogIfNecessary(isInterpreter: Boolean, silent: Boolean = false): Boolean

    Permalink
    Attributes
    protected
    Definition Classes
    Logging
  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. def jobIdToExecutionId: Map[Long, Long]

    Permalink
    Definition Classes
    SQLListener
  24. def log: Logger

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

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

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

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

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

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

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

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

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

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

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

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

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

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

    Permalink
    Definition Classes
    AnyRef
  39. def onApplicationEnd(applicationEnd: SparkListenerApplicationEnd): Unit

    Permalink

    Called when the application ends

    Called when the application ends

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

    Permalink

    Called when the application starts

    Called when the application starts

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

    Permalink

    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

    Permalink

    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

    Permalink

    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

    Permalink

    Called when environment properties have been updated

    Called when environment properties have been updated

    Definition Classes
    SparkListener → SparkListenerInterface
  45. 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
  46. 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
    SQLListenerSparkListener → SparkListenerInterface
  47. def onExecutorRemoved(executorRemoved: SparkListenerExecutorRemoved): Unit

    Permalink

    Called when the driver removes an executor.

    Called when the driver removes an executor.

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

    Permalink

    Called when a job ends

    Called when a job ends

    Definition Classes
    SQLListenerSparkListener → SparkListenerInterface
  49. def onJobStart(jobStart: SparkListenerJobStart): Unit

    Permalink

    Called when a job starts

    Called when a job starts

    Definition Classes
    SnappySQLListenerSQLListenerSparkListener → SparkListenerInterface
  50. def onOtherEvent(event: SparkListenerEvent): Unit

    Permalink

    Snappy's execution happens in two phases.

    Snappy's execution happens in two phases. First phase the plan is executed to create a rdd which is then used to create a CachedDataFrame. In second phase, the CachedDataFrame is then used for further actions. For accumulating the metrics for first phase, SparkListenerSQLPlanExecutionStart is fired. This keeps the current executionID in _executionIdToData but does not add it to the active executions. This ensures that query is not shown in the UI but the new jobs that are run while the plan is being executed are tracked against this executionID. In the second phase, when the query is actually executed, SparkListenerSQLPlanExecutionStart adds the execution data to the active executions. SparkListenerSQLPlanExecutionEnd is then sent with the accumulated time of both the phases.

    Definition Classes
    SnappySQLListenerSQLListenerSparkListener → SparkListenerInterface
  51. 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
    SparkListener → SparkListenerInterface
  52. def onStageSubmitted(stageSubmitted: SparkListenerStageSubmitted): Unit

    Permalink

    Called when a stage is submitted

    Called when a stage is submitted

    Definition Classes
    SQLListenerSparkListener → SparkListenerInterface
  53. def onTaskEnd(taskEnd: SparkListenerTaskEnd): Unit

    Permalink

    Called when a task ends

    Called when a task ends

    Definition Classes
    SQLListenerSparkListener → SparkListenerInterface
  54. 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
    SparkListener → SparkListenerInterface
  55. def onTaskStart(taskStart: SparkListenerTaskStart): Unit

    Permalink

    Called when a task starts

    Called when a task starts

    Definition Classes
    SparkListener → SparkListenerInterface
  56. 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
  57. var sourceListener: SQLListener

    Permalink
  58. def stageIdToStageMetrics: Map[Long, SQLStageMetrics]

    Permalink
    Definition Classes
    SQLListener
  59. final def synchronized[T0](arg0: ⇒ T0): T0

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

    Permalink
    Definition Classes
    AnyRef → Any
  61. def updateTaskAccumulatorValues(taskId: Long, stageId: Int, stageAttemptID: Int, _accumulatorUpdates: Seq[AccumulableInfo], finishTask: Boolean): Unit

    Permalink

    Update the accumulator values of a task with the latest metrics for this task.

    Update the accumulator values of a task with the latest metrics for this task. This is called every time we receive an executor heartbeat or when a task finishes.

    Attributes
    protected
    Definition Classes
    SQLListener
  62. final def wait(): Unit

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

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

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

Inherited from SQLListener

Inherited from internal.Logging

Inherited from SparkListener

Inherited from SparkListenerInterface

Inherited from AnyRef

Inherited from Any

Ungrouped