This is an automated email from the ASF dual-hosted git repository.

HyukjinKwon pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/spark-connect-rust.git


The following commit(s) were added to refs/heads/master by this push:
     new d126880f [MINOR][DOCS] Start the Spark Connect server without the 
--packages of the Connect jar, which the Spark distribution bundles
d126880f is described below

commit d126880f7e87cc034f0d433237a3394daf1c2a0e
Author: Hyukjin Kwon <[email protected]>
AuthorDate: Fri Nov 13 08:37:38 2026 +0900

    [MINOR][DOCS] Start the Spark Connect server without the --packages of the 
Connect jar, which the Spark distribution bundles
    
    ### What changes were proposed in this pull request?
    
    The guides started the Spark Connect server with `--packages 
"org.apache.spark:spark-connect_2.13:4.3.0"`. The Spark distribution does not 
need it, because it bundles the Spark Connect server; CI and `AGENTS.md` 
already start it without it. This removes it from:
    - `docs/configuration.md` (which now says that no `--packages` is needed)
    - `docs/quickstart.md`
    - `docs/troubleshooting.md` (two places)
    - the Delta Lake example of `examples/README.md`, which keeps the Delta 
package
    
    The troubleshooting tip "run the server in the foreground" now uses 
`SPARK_NO_DAEMONIZE=1`, since `start-connect-server.sh` daemonizes the server, 
and `2>&1` did not change that.
    
    No other mention of the Connect jar is left, whether as `--packages`, 
`spark.jars.packages` or `--jars`.
    
    ### Why are the changes needed?
    
    The flag is not needed, and it makes the server download the jar from 
Maven, which fails offline.
    
    ### Does this PR introduce _any_ user-facing change?
    
    Docs only.
    
    ### How was this patch tested?
    
    Reviewed the rendered Markdown. The changes touch no Rust snippet.
    
    ### Was this patch authored or co-authored using generative AI tooling?
    
    Generated-by: Claude Opus 5.5
    
    This pull request and its description were written by Isaac.
    
    Closes #584 from HyukjinKwon/minor-docs-bundled-connect-server.
    
    Authored-by: Hyukjin Kwon <[email protected]>
    Signed-off-by: Hyukjin Kwon <[email protected]>
---
 docs/configuration.md   | 5 +++--
 docs/quickstart.md      | 2 +-
 docs/troubleshooting.md | 4 ++--
 examples/README.md      | 2 +-
 4 files changed, 7 insertions(+), 6 deletions(-)

diff --git a/docs/configuration.md b/docs/configuration.md
index 37dcd77e..f27abde1 100644
--- a/docs/configuration.md
+++ b/docs/configuration.md
@@ -50,10 +50,11 @@ To run a Spark Connect server locally for development:
 export SPARK_HOME=/path/to/spark
 
 # Start the server on sc://localhost:15002
-$SPARK_HOME/sbin/start-connect-server.sh \
-  --packages "org.apache.spark:spark-connect_2.13:4.3.0"
+$SPARK_HOME/sbin/start-connect-server.sh
 ```
 
+The Spark distribution bundles the Spark Connect server, so it needs no 
`--packages`.
+
 The server listens on port `15002` by default. To use a different port, add 
`--conf spark.connect.grpc.binding.port=<port>`.
 
 !!! tip
diff --git a/docs/quickstart.md b/docs/quickstart.md
index 3055e59c..bc39d25a 100644
--- a/docs/quickstart.md
+++ b/docs/quickstart.md
@@ -7,7 +7,7 @@ Get up and running with Spark Connect in minutes. This guide 
walks you through y
 Before you start, ensure you have a running Spark Connect server. See 
[Configuration and Connection](configuration.md) for how to start one locally:
 
 ```bash
-$SPARK_HOME/sbin/start-connect-server.sh --packages 
"org.apache.spark:spark-connect_2.13:4.3.0"
+$SPARK_HOME/sbin/start-connect-server.sh
 ```
 
 The server listens on `sc://localhost:15002` by default.
diff --git a/docs/troubleshooting.md b/docs/troubleshooting.md
index 94b268c5..12e4ee36 100644
--- a/docs/troubleshooting.md
+++ b/docs/troubleshooting.md
@@ -7,13 +7,13 @@ Common issues and solutions when using Spark Connect Rust.
 **Symptom:** `Error: Failed to connect to sc://localhost:15002` or connection 
timeout.
 
 **Solution:**
-1. Verify the server is running: `$SPARK_HOME/sbin/start-connect-server.sh 
--packages "org.apache.spark:spark-connect_2.13:4.3.0"`
+1. Verify the server is running: `$SPARK_HOME/sbin/start-connect-server.sh`
 2. Check the port is correct. By default it's `15002`. To verify, look for 
`spark.connect.grpc.binding.port` in the server logs.
 3. If connecting to a remote server, verify network connectivity: `ping 
spark.example.com` and check firewalls.
 4. Ensure Apache Spark 4.3.0 or later is installed: 
`$SPARK_HOME/bin/spark-shell --version`
 
 !!! tip
-    Run the server in the foreground to see startup messages: 
`$SPARK_HOME/sbin/start-connect-server.sh --packages 
"org.apache.spark:spark-connect_2.13:4.3.0" 2>&1`
+    Run the server in the foreground to see startup messages: 
`SPARK_NO_DAEMONIZE=1 $SPARK_HOME/sbin/start-connect-server.sh`
 
 ### TLS / Authentication Error
 
diff --git a/examples/README.md b/examples/README.md
index 8c3ace82..21f76a68 100644
--- a/examples/README.md
+++ b/examples/README.md
@@ -69,7 +69,7 @@ Read a file into a dataframe, save the result as a deltalake 
table, and append a
 The Delta Lake jars need to be added onto the server before it starts:
 
 ```bash
-$ $SPARK_HOME/sbin/start-connect-server.sh --packages 
"org.apache.spark:spark-connect_2.13:4.3.0,io.delta:delta-spark_2.13:4.3.0" \
+$ $SPARK_HOME/sbin/start-connect-server.sh --packages 
"io.delta:delta-spark_2.13:4.3.0" \
       --conf "spark.driver.extraJavaOptions=-Divy.cache.dir=/tmp 
-Divy.home=/tmp" \
       --conf "spark.sql.extensions=io.delta.sql.DeltaSparkSessionExtension" \
       --conf 
"spark.sql.catalog.spark_catalog=org.apache.spark.sql.delta.catalog.DeltaCatalog"


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

Reply via email to