Skip to content

SparkConnectServer 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(
  args: Array[String]): Unit

main prints out the following INFO message to the logs:

Starting Spark session.

main creates a SparkSession.

main starts a SparkConnectService.

main prints out the following INFO message to the logs:

Spark Connect server started.

In the end, main is paused until the SparkConnectService is terminated.