package events
- Alphabetic
- Public
- All
Type Members
-
case class
EngineEvent(applicationId: String, attemptId: Option[String], applicationName: String, owner: String, shareLevel: String, connectionUrl: String, master: String, sparkVersion: String, webUrl: String, startTime: Long, endTime: Long, state: Int, diagnostic: String, settings: Map[String, String]) extends KyuubiEvent with SparkListenerEvent with Product with Serializable
- applicationId
application id a.k.a, the unique id for engine
- applicationName
the application name
- owner
the application user
- shareLevel
the share level for this engine
- connectionUrl
the jdbc connection string
- master
the master type, yarn, k8s, local etc.
- sparkVersion
short version of spark distribution
- webUrl
the tracking url of this engine
- startTime
start time
- endTime
end time
- state
the engine state
- diagnostic
caught exceptions if any
- settings
collection of all configurations of spark and kyuubi
-
class
EngineEventsStore extends AnyRef
A memory store that tracking the number of statements and sessions, it provides:
A memory store that tracking the number of statements and sessions, it provides:
- stores all events. - cleanup the events when reach a certain threshold: 1). remove the finished events first. 2). remove the active events if still reach the threshold.
-
case class
SessionEvent(sessionId: String, name: String, engineId: String, username: String, ip: String, serverIp: String, conf: Map[String, String], startTime: Long, endTime: Long = -1L, totalOperations: Int = 0) extends KyuubiEvent with SparkListenerEvent with Product with Serializable
Event Tracking for user sessions
Event Tracking for user sessions
- sessionId
the identifier of a session
- engineId
the engine id
- ip
Client IP address
- serverIp
Kyuubi Server IP address
- startTime
Start time
- endTime
End time
- totalOperations
how many queries and meta calls
- class SparkEventHandlerRegister extends EventHandlerRegister
-
case class
SparkOperationEvent(statementId: String, statement: String, shouldRunAsync: Boolean, state: String, eventTime: Long, createTime: Long, startTime: Long, completeTime: Long, exception: Option[Throwable], sessionId: String, sessionUser: String, executionId: Option[Long]) extends KyuubiEvent with SparkListenerEvent with Product with Serializable
A SparkOperationEvent used to tracker the lifecycle of an operation at Spark SQL Engine side.
A SparkOperationEvent used to tracker the lifecycle of an operation at Spark SQL Engine side.
- Operation Basis
- Operation Live Status
- Parent Session Id
- statementId
the unique identifier of a single operation
- statement
the sql that you execute
- shouldRunAsync
the flag indicating whether the query runs synchronously or not
- state
the current operation state
- eventTime
the time when the event created & logged
- createTime
the time for changing to the current operation state
- startTime
the time the query start to time of this operation
- completeTime
time time the query ends
- sessionId
the identifier of the parent session
- sessionUser
the authenticated client user
- executionId
the query execution id of this operation
Value Members
- object EngineEvent extends Serializable
- object SessionEvent extends Serializable
- object SparkOperationEvent extends Serializable