Change Documentation page "Python Package Management" url enclosed#34422
Closed
yetanotherlogonfail wants to merge 3 commits intomasterfrom
Closed
Change Documentation page "Python Package Management" url enclosed#34422yetanotherlogonfail wants to merge 3 commits intomasterfrom
yetanotherlogonfail wants to merge 3 commits intomasterfrom
Conversation
Conflicts: core/src/main/scala/spark/NewHadoopRDD.scala core/src/main/scala/spark/PairRDDFunctions.scala project/SparkBuild.scala
|
Can one of the admins verify this patch? |
Author
|
Hyukjin Kwon (Jira) ***@***.***>
02:39 (7 hours ago)
to carltonrees
[
https://issues.apache.org/jira/browse/SPARK-37134?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17435117#comment-17435117
]
Hyukjin Kwon commented on SPARK-37134:
--------------------------------------
They are individual items so OR is correct. Feel free to create a PR to
clarify them.
…On Thu, 28 Oct 2021 at 10:13, UCB AMPLab ***@***.***> wrote:
Can one of the admins verify this patch?
—
You are receiving this because you authored the thread.
Reply to this email directly, view it on GitHub
<#34422 (comment)>, or
unsubscribe
<https://github.com/notifications/unsubscribe-auth/ABRBKWW74D6IOMDCZMY2AY3UJEH2XANCNFSM5G4I3TLA>
.
Triage notifications on the go with GitHub Mobile for iOS
<https://apps.apple.com/app/apple-store/id1477376905?ct=notification-email&mt=8&pt=524675>
or Android
<https://play.google.com/store/apps/details?id=com.github.android&referrer=utm_campaign%3Dnotification-email%26utm_medium%3Demail%26utm_source%3Dgithub>.
--
Regards, Carl
"Chance has put in our way a most singular and whimsical problem, and
its solution is its own reward."
|
HyukjinKwon
added a commit
that referenced
this pull request
Oct 29, 2021
…ive Features" ### What changes were proposed in this pull request? This PR proposes to fix: ```diff - to the executors by: + to the executors by one of the following: ``` to clarify that doing one of many options works (instead of doing all options together). ### Why are the changes needed? To prevent confusion. ### Does this PR introduce _any_ user-facing change? Yes, this is user-facing documentation change. ### How was this patch tested? Manually double checked. Closes #34422 Closes #34432 from HyukjinKwon/SPARK-37134. Authored-by: Hyukjin Kwon <gurwls223@apache.org> Signed-off-by: Hyukjin Kwon <gurwls223@apache.org> (cherry picked from commit f258d30) Signed-off-by: Hyukjin Kwon <gurwls223@apache.org>
sunchao
pushed a commit
to sunchao/spark
that referenced
this pull request
Dec 8, 2021
…ive Features" ### What changes were proposed in this pull request? This PR proposes to fix: ```diff - to the executors by: + to the executors by one of the following: ``` to clarify that doing one of many options works (instead of doing all options together). ### Why are the changes needed? To prevent confusion. ### Does this PR introduce _any_ user-facing change? Yes, this is user-facing documentation change. ### How was this patch tested? Manually double checked. Closes apache#34422 Closes apache#34432 from HyukjinKwon/SPARK-37134. Authored-by: Hyukjin Kwon <gurwls223@apache.org> Signed-off-by: Hyukjin Kwon <gurwls223@apache.org> (cherry picked from commit f258d30) Signed-off-by: Hyukjin Kwon <gurwls223@apache.org> (cherry picked from commit b58db1f)
catalinii
pushed a commit
to lyft/spark
that referenced
this pull request
Feb 22, 2022
…ive Features" ### What changes were proposed in this pull request? This PR proposes to fix: ```diff - to the executors by: + to the executors by one of the following: ``` to clarify that doing one of many options works (instead of doing all options together). ### Why are the changes needed? To prevent confusion. ### Does this PR introduce _any_ user-facing change? Yes, this is user-facing documentation change. ### How was this patch tested? Manually double checked. Closes apache#34422 Closes apache#34432 from HyukjinKwon/SPARK-37134. Authored-by: Hyukjin Kwon <gurwls223@apache.org> Signed-off-by: Hyukjin Kwon <gurwls223@apache.org> (cherry picked from commit f258d30) Signed-off-by: Hyukjin Kwon <gurwls223@apache.org>
catalinii
pushed a commit
to lyft/spark
that referenced
this pull request
Mar 4, 2022
…ive Features" ### What changes were proposed in this pull request? This PR proposes to fix: ```diff - to the executors by: + to the executors by one of the following: ``` to clarify that doing one of many options works (instead of doing all options together). ### Why are the changes needed? To prevent confusion. ### Does this PR introduce _any_ user-facing change? Yes, this is user-facing documentation change. ### How was this patch tested? Manually double checked. Closes apache#34422 Closes apache#34432 from HyukjinKwon/SPARK-37134. Authored-by: Hyukjin Kwon <gurwls223@apache.org> Signed-off-by: Hyukjin Kwon <gurwls223@apache.org> (cherry picked from commit f258d30) Signed-off-by: Hyukjin Kwon <gurwls223@apache.org>
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
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.
Proposed change to User Guide documentation page
"Python Package Management"
URL
https://spark.apache.org/docs/latest/api/python/user_guide/python_packaging.html
Reason: The paragraph is unclear
user-facing change: Yes
Change
Paragraph: Using PySpark Native Features
From:
PySpark allows to upload Python files (.py), zipped Python packages (.zip), and Egg files (.egg) to the executors by:
Setting the configuration setting spark.submit.pyFiles
Setting --py-files option in Spark scripts
Directly calling pyspark.SparkContext.addPyFile() in applications
This is a straightforward method to ship additional custom Python code to the cluster. You can just add individual files or zip whole packages and upload them. Using pyspark.SparkContext.addPyFile() allows to upload code even after having started your job.
However, it does not allow to add packages built as Wheels and therefore does not allow to include dependencies with native code.
TO:
PySpark allows to upload Python files (.py), zipped Python packages (.zip), and Egg files (.egg) to the executors by:
Setting the configuration setting spark.submit.pyFiles
OR
Setting --py-files option in Spark scripts
OR
Directly calling pyspark.SparkContext.addPyFile() in applications
This is a straightforward method to ship additional custom Python code to the cluster. You can just add individual files or zip whole packages and upload them. Using pyspark.SparkContext.addPyFile() allows to upload code even after having started your job.
However, it does not allow to add packages built as Wheels and therefore does not allow to include dependencies with native code.