You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@spark.apache.org by gu...@apache.org on 2025/05/28 04:08:17 UTC
(spark) branch master updated: Small improvements to Python Spark Connect installation docs
This is an automated email from the ASF dual-hosted git repository.
gurwls223 pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/spark.git
The following commit(s) were added to refs/heads/master by this push:
new d152ae89bb2d Small improvements to Python Spark Connect installation docs
d152ae89bb2d is described below
commit d152ae89bb2dc97d72eb67d101ede3fbdac9ead3
Author: Sandy Ryza <sa...@databricks.com>
AuthorDate: Wed May 28 13:08:02 2025 +0900
Small improvements to Python Spark Connect installation docs
### What changes were proposed in this pull request?
Some small clarity and grammar improvements to the Python Spark Connect installation docs
### Why are the changes needed?
To make it easier to understand how to install Spark Connect with PySpark.
### Does this PR introduce _any_ user-facing change?
No
### How was this patch tested?
### Was this patch authored or co-authored using generative AI tooling?
No
Closes #51031 from sryza/spark-connect-installation-docs.
Authored-by: Sandy Ryza <sa...@databricks.com>
Signed-off-by: Hyukjin Kwon <gu...@apache.org>
---
python/docs/source/getting_started/install.rst | 14 +++++++++-----
1 file changed, 9 insertions(+), 5 deletions(-)
diff --git a/python/docs/source/getting_started/install.rst b/python/docs/source/getting_started/install.rst
index b13defdaadd6..5f445c8aa524 100644
--- a/python/docs/source/getting_started/install.rst
+++ b/python/docs/source/getting_started/install.rst
@@ -84,19 +84,23 @@ Supported values in ``PYSPARK_HADOOP_VERSION`` are:
Note that this installation of PySpark with/without a specific Hadoop version is experimental. It can change or be removed between minor releases.
-Making Spark Connect by default
-~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
+Making Spark Connect the default
+~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
-If you want to make Spark Connect default, you can install and additional library via `PyPI (pyspark-connect) <https://pypi.org/project/pyspark-connect/>`_, execute the following command:
+If you want to make Spark Connect the default, you can install an additional library via `PyPI (pyspark-connect) <https://pypi.org/project/pyspark-connect/>`_. Execute the following command:
.. code-block:: bash
pip install pyspark-connect
-It will automatically install ``pyspark`` library as well as dependencies that are necessary for Spark Connect.
+This will automatically install the ``pyspark`` library, as well as dependencies that are necessary for Spark Connect.
If you want to customize ``pyspark``, you need to install ``pyspark`` with the instructions above in advance.
-This package supports both ``spark.master`` (``--master``) with a locally running Spark Connect server, and ``spark.remote`` (``--remote``) including local clusters, e.g., ``local[*]`` as well as connection URIs such as ``sc://localhost``. See also `Quickstart: Spark Connect <quickstart_connect.html>`_ for how to use it.
+This package supports both:
+- ``spark.master`` (``--master``) with a locally running Spark Connect server
+- ``spark.remote`` (``--remote``) including local clusters, e.g., ``local[*]`` as well as connection URIs such as ``sc://localhost``.
+
+See also `Quickstart: Spark Connect <quickstart_connect.html>`_ for how to use it.
Python Spark Connect Client
---------------------------------------------------------------------
To unsubscribe, e-mail: commits-unsubscribe@spark.apache.org
For additional commands, e-mail: commits-help@spark.apache.org