HyukjinKwon opened a new pull request, #39928:
URL: https://github.com/apache/spark/pull/39928

   ### What changes were proposed in this pull request?
   
   This PR proposes to scripts to start and stop the Spark Connect server.
   
   ### Why are the changes needed?
   
   Currently, there is no proper way to start and stop the Spark Connect 
server. Now it requires you to start it with, for example, a Spark shell:
   
   ```bash
   # For development,
   ./bin/spark-shell \
      --jars `ls connector/connect/target/**/spark-connect*SNAPSHOT.jar` \
     --conf spark.plugins=org.apache.spark.sql.connect.SparkConnectPlugin
   ```
   
   ```bash
   # For released Spark versions
   ./bin/spark-shell \
     --packages org.apache.spark:spark-connect_2.12:3.4.0 \
     --conf spark.plugins=org.apache.spark.sql.connect.SparkConnectPlugin
   ```
   
   which is awkward.
   
   
   ### Does this PR introduce _any_ user-facing change?
   
   Yes, it adds new scripts to start and stop Spark Connect server.
   
   ### How was this patch tested?
   
   Manually tested:
   
   ```bash
   sbin/start-connectserver.sh
   ```
   
   ```bash
   bin/pyspark --remote localhost
   ...
   ```
   
   ```bash
   sbin/stop-connectserver.sh
   ps -fe | grep Spark
   ```


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: [email protected]

For queries about this service, please contact Infrastructure at:
[email protected]


---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to