package service
- Alphabetic
- Public
- Protected
Type Members
- case class ExecuteEventsManager(executeHolder: ExecuteHolder, clock: Clock) extends Product with Serializable
Post request Connect events to @link org.apache.spark.scheduler.LiveListenerBus.
- case class ExecuteInfo(request: ExecutePlanRequest, userId: String, sessionId: String, operationId: String, jobTag: String, sparkSessionTags: Set[String], reattachable: Boolean, status: ExecuteStatus, creationTime: Long, lastAttachedRpcTime: Option[Long], closedTime: Option[Long]) extends Product with Serializable
Information about an ExecuteHolder.
- case class ExecuteKey(userId: String, sessionId: String, operationId: String) extends Product with Serializable
- sealed abstract class ExecuteStatus extends AnyRef
- class LocalPropertiesCleanupInterceptor extends ServerInterceptor
Interceptor for cleaning up local properties in the SparkContext after gRPC server calls.
- class LoggingInterceptor extends ServerInterceptor with Logging
A gRPC interceptor to log RPC requests and responses.
A gRPC interceptor to log RPC requests and responses. It logs the protobufs as JSON. Useful for local development. An ID is logged for each RPC so that requests and corresponding responses can be exactly matched.
- case class SessionEventsManager(sessionHolder: SessionHolder, clock: Clock) extends Product with Serializable
Post session Connect events to @link org.apache.spark.scheduler.LiveListenerBus.
- case class SessionHolder(userId: String, sessionId: String, session: SparkSession) extends Logging with Product with Serializable
Object used to hold the Spark Connect session state.
- sealed abstract class SessionStatus extends AnyRef
- class SparkConnectAddArtifactsHandler extends StreamObserver[AddArtifactsRequest]
Handles AddArtifactsRequests for the SparkConnectService.
- class SparkConnectArtifactStatusesHandler extends Logging
- class SparkConnectConfigHandler extends Logging
- class SparkConnectExecutePlanHandler extends Logging
- class SparkConnectInterruptHandler extends Logging
- class SparkConnectReattachExecuteHandler extends Logging
- class SparkConnectReleaseExecuteHandler extends Logging
- class SparkConnectService extends AsyncService with BindableService with Logging
The SparkConnectService implementation.
The SparkConnectService implementation.
This class implements the service stub from the generated code of GRPC.
- case class SparkListenerConnectOperationAnalyzed(jobTag: String, operationId: String, eventTime: Long, extraTags: Map[String, String] = Map.empty) extends SparkListenerEvent with Product with Serializable
The event is sent after a Connect request has been analyzed (@link org.apache.spark.sql.catalyst.QueryPlanningTracker.ANALYSIS).
- case class SparkListenerConnectOperationCanceled(jobTag: String, operationId: String, eventTime: Long, extraTags: Map[String, String] = Map.empty) extends SparkListenerEvent with Product with Serializable
Event sent after a Connect request has been canceled.
- case class SparkListenerConnectOperationClosed(jobTag: String, operationId: String, eventTime: Long, extraTags: Map[String, String] = Map.empty) extends SparkListenerEvent with Product with Serializable
Event sent after a Connect request has finished executing and results have been sent to client.
- case class SparkListenerConnectOperationFailed(jobTag: String, operationId: String, eventTime: Long, errorMessage: String, extraTags: Map[String, String] = Map.empty) extends SparkListenerEvent with Product with Serializable
Event sent after a Connect request has failed.
- case class SparkListenerConnectOperationFinished(jobTag: String, operationId: String, eventTime: Long, producedRowCount: Option[Long] = None, extraTags: Map[String, String] = Map.empty) extends SparkListenerEvent with Product with Serializable
Event sent after a Connect request has finished executing, but prior results have been sent to client.
- case class SparkListenerConnectOperationReadyForExecution(jobTag: String, operationId: String, eventTime: Long, extraTags: Map[String, String] = Map.empty) extends SparkListenerEvent with Product with Serializable
The event is sent after a Connect request is ready for execution.
The event is sent after a Connect request is ready for execution. For eager commands this is after @link org.apache.spark.sql.catalyst.QueryPlanningTracker.ANALYSIS. For other requests it is after \@link org.apache.spark.sql.catalyst.QueryPlanningTracker.PLANNING
- case class SparkListenerConnectOperationStarted(jobTag: String, operationId: String, eventTime: Long, sessionId: String, userId: String, userName: String, statementText: String, sparkSessionTags: Set[String], extraTags: Map[String, String] = Map.empty) extends SparkListenerEvent with Product with Serializable
Event sent after reception of a Connect request (i.e.
Event sent after reception of a Connect request (i.e. not queued), but prior any analysis or execution.
- case class SparkListenerConnectSessionClosed(sessionId: String, userId: String, eventTime: Long, extraTags: Map[String, String] = Map.empty) extends SparkListenerEvent with Product with Serializable
Event sent after a Connect session has been closed.
- case class SparkListenerConnectSessionStarted(sessionId: String, userId: String, eventTime: Long, extraTags: Map[String, String] = Map.empty) extends SparkListenerEvent with Product with Serializable
Event sent after a Connect session has been started.
Value Members
- object ExecuteEventsManager extends Serializable
- object ExecuteJobTag
Used to identify ExecuteHolder jobTag among SparkContext.SPARK_JOB_TAGS.
- object ExecuteSessionTag
Used to identify ExecuteHolder sessionTag among SparkContext.SPARK_JOB_TAGS.
- object ExecuteStatus
- object SessionHolder extends Serializable
- object SessionStatus
- object SparkConnectConfigHandler
- object SparkConnectInterceptorRegistry
This object provides a global list of configured interceptors for GRPC.
This object provides a global list of configured interceptors for GRPC. The interceptors are added to the GRPC server in order of their position in the list. Once the statically compiled interceptors are added, dynamically configured interceptors are added.
- object SparkConnectServer extends Logging
The Spark Connect server
- object SparkConnectService extends Logging
Static instance of the SparkConnectService.
Static instance of the SparkConnectService.
Used to start the overall SparkConnect service and provides global state to manage the different SparkSession from different users connecting to the cluster.