-
Notifications
You must be signed in to change notification settings - Fork 28.3k
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
[SPARK-18136] Fix SPARK_JARS_DIR for Python pip install on Windows #19310
Conversation
jenkins, test this please |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
yes, this definitely seems like a problem
LGTM, but I'll add more folks to review
@holdenk @ueshin @HyukjinKwon as it says python pip package, but I'm pretty sure this is cross language |
I'm a little puzzled how this wouldn't broken on windows without this fix with release build... need to run some tests to see. |
Test build #82110 has finished for PR 19310 at commit
|
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LGTM too. I tested
@jsnowacki, I am merging this assuming you will fix up https://issues.apache.org/jira/browse/SPARK-18136?focusedCommentId=16175276&page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel#comment-16175276 soon in a followup. I also verified this too. In a quick look, we probably should fix codes around Line 126 in aad2125
|
## What changes were proposed in this pull request? Fix for setup of `SPARK_JARS_DIR` on Windows as it looks for `%SPARK_HOME%\RELEASE` file instead of `%SPARK_HOME%\jars` as it should. RELEASE file is not included in the `pip` build of PySpark. ## How was this patch tested? Local install of PySpark on Anaconda 4.4.0 (Python 3.6.1). Author: Jakub Nowacki <j.s.nowacki@gmail.com> Closes #19310 from jsnowacki/master. (cherry picked from commit c11f24a) Signed-off-by: hyukjinkwon <gurwls223@gmail.com>
## What changes were proposed in this pull request? Fix for setup of `SPARK_JARS_DIR` on Windows as it looks for `%SPARK_HOME%\RELEASE` file instead of `%SPARK_HOME%\jars` as it should. RELEASE file is not included in the `pip` build of PySpark. ## How was this patch tested? Local install of PySpark on Anaconda 4.4.0 (Python 3.6.1). Author: Jakub Nowacki <j.s.nowacki@gmail.com> Closes #19310 from jsnowacki/master. (cherry picked from commit c11f24a) Signed-off-by: hyukjinkwon <gurwls223@gmail.com>
Merged to master, branch-2.2 and branch-2.1. |
It probably is. The feature only works on Linux, but thanks for working towards fixing this. |
## What changes were proposed in this pull request? Fix for setup of `SPARK_JARS_DIR` on Windows as it looks for `%SPARK_HOME%\RELEASE` file instead of `%SPARK_HOME%\jars` as it should. RELEASE file is not included in the `pip` build of PySpark. ## How was this patch tested? Local install of PySpark on Anaconda 4.4.0 (Python 3.6.1). Author: Jakub Nowacki <j.s.nowacki@gmail.com> Closes apache#19310 from jsnowacki/master. (cherry picked from commit c11f24a) Signed-off-by: hyukjinkwon <gurwls223@gmail.com>
What changes were proposed in this pull request?
Fix for setup of
SPARK_JARS_DIR
on Windows as it looks for%SPARK_HOME%\RELEASE
file instead of%SPARK_HOME%\jars
as it should. RELEASE file is not included in thepip
build of PySpark.How was this patch tested?
Local install of PySpark on Anaconda 4.4.0 (Python 3.6.1).