Repository: spark Updated Branches: refs/heads/master f180b6534 -> c11f24a94
[SPARK-18136] Fix SPARK_JARS_DIR for Python pip install on Windows ## 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.nowa...@gmail.com> Closes #19310 from jsnowacki/master. Project: http://git-wip-us.apache.org/repos/asf/spark/repo Commit: http://git-wip-us.apache.org/repos/asf/spark/commit/c11f24a9 Tree: http://git-wip-us.apache.org/repos/asf/spark/tree/c11f24a9 Diff: http://git-wip-us.apache.org/repos/asf/spark/diff/c11f24a9 Branch: refs/heads/master Commit: c11f24a94007bbaad0835645843e776507094071 Parents: f180b65 Author: Jakub Nowacki <j.s.nowa...@gmail.com> Authored: Sat Sep 23 21:04:10 2017 +0900 Committer: hyukjinkwon <gurwls...@gmail.com> Committed: Sat Sep 23 21:04:10 2017 +0900 ---------------------------------------------------------------------- bin/spark-class2.cmd | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) ---------------------------------------------------------------------- http://git-wip-us.apache.org/repos/asf/spark/blob/c11f24a9/bin/spark-class2.cmd ---------------------------------------------------------------------- diff --git a/bin/spark-class2.cmd b/bin/spark-class2.cmd index f6157f4..a93fd2f 100644 --- a/bin/spark-class2.cmd +++ b/bin/spark-class2.cmd @@ -29,7 +29,7 @@ if "x%1"=="x" ( ) rem Find Spark jars. -if exist "%SPARK_HOME%\RELEASE" ( +if exist "%SPARK_HOME%\jars" ( set SPARK_JARS_DIR="%SPARK_HOME%\jars" ) else ( set SPARK_JARS_DIR="%SPARK_HOME%\assembly\target\scala-%SPARK_SCALA_VERSION%\jars" --------------------------------------------------------------------- To unsubscribe, e-mail: commits-unsubscr...@spark.apache.org For additional commands, e-mail: commits-h...@spark.apache.org