SparkConnectServer — Spark Connect Server Standalone Application¶
SparkConnectServer
is a standalone application to start a Spark Connect server from command line.
SparkConnectServer
can be started using sbin/start-connect-server.sh
shell script.
SparkConnectServer
can be stopped using sbin/stop-connect-server.sh
shell script.
Launching Application¶
main
prints out the following INFO message to the logs:
main
creates a SparkSession
with the following config options:
Config | Value |
---|---|
spark.sql.artifact.isolation.enabled | true |
spark.sql.artifact.isolation.alwaysApplyClassloader | true |
main
starts a SparkConnectService.
main
prints out the following INFO message to the logs:
In the end, main
is paused until the SparkConnectService is terminated.