Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[MINOR][DOCS] Clarify spark.remote and spark.master in pyspark-connect and pyspark-client at install.rst #50054

Closed
wants to merge 2 commits into from

Conversation

HyukjinKwon
Copy link
Member

What changes were proposed in this pull request?

This PR fixes the installation page for PySpark to clarify spark.remote and spark.master in pyspark-connect and pyspark-client at install.rst

Why are the changes needed?

To clarify spark.remote and spark.master in pyspark-connect and pyspark-client

Does this PR introduce any user-facing change?

No. doc-only change.

How was this patch tested?

CI build in this PR

Was this patch authored or co-authored using generative AI tooling?

No.

Note that ``pyspark`` command will use ``--master`` option for Spark Connect remote URL instead of ``--remote`` option.

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, and ``spark.remote`` (``--remote``) including ``local*`` as well as connection URIs such as ``sc://localhost``. See also `Quickstart: Spark Connect <quickstart_connect.html>`_ for how to use it.
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Does local* mean local[K,F] syntax in this line, @HyukjinKwon ? If then, it looks a little confusing to me.

Copy link
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Actually I also meant local-cluster too :-)..

Copy link
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

let me fix a little bit more

Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thank you!

Copy link
Member

@dongjoon-hyun dongjoon-hyun left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

+1, LGTM for the other parts. Only one minor comment about clarification.
Thank you, @HyukjinKwon .

@HyukjinKwon
Copy link
Member Author

Merged to master and branch-4.0.

HyukjinKwon added a commit that referenced this pull request Feb 24, 2025
…t and pyspark-client at install.rst

### What changes were proposed in this pull request?

This PR fixes the installation page for PySpark to clarify spark.remote and spark.master in pyspark-connect and pyspark-client at install.rst

### Why are the changes needed?

To clarify spark.remote and spark.master in pyspark-connect and pyspark-client

### Does this PR introduce _any_ user-facing change?

No. doc-only change.

### How was this patch tested?

CI build in this PR

### Was this patch authored or co-authored using generative AI tooling?

No.

Closes #50054 from HyukjinKwon/minor-doc-change1.

Authored-by: Hyukjin Kwon <gurwls223@apache.org>
Signed-off-by: Hyukjin Kwon <gurwls223@apache.org>
(cherry picked from commit c6097c7)
Signed-off-by: Hyukjin Kwon <gurwls223@apache.org>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants