[SPARK-48240][DOCS] Replace Local[..]
with "Local[...]"
in the docs
#46535
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
What changes were proposed in this pull request?
The pr aims to replace
Local[..]
with"Local[...]"
in the docsWhy are the changes needed?
1.When I recently switched from
bash
tozsh
and executed command./bin/spark-shell --master local[8]
on local, the following error will be printed:2.Some descriptions in the existing documents have been written as
--master "local[n]"
, eg:spark/docs/index.md
Line 49 in f699f55
3.The root cause is: https://blog.peiyingchi.com/2017/03/20/spark-zsh-no-matches-found-local/
Does this PR introduce any user-facing change?
Yes, with the
zsh
becoming the mainstream of shell, avoid the confusion of spark users when submitting apps with./bin/spark-shell --master "local[n]" ...
or./bin/spark-sql --master "local[n]" ...
, etcHow was this patch tested?
Manually test
Whether the user uses
bash
orzsh
, the above--master "local[n]"
can be executed successfully in the expected way.Was this patch authored or co-authored using generative AI tooling?
No.