diff options
author | Masayoshi TSUZUKI <tsudukim@oss.nttdata.co.jp> | 2015-04-06 10:11:20 +0100 |
---|---|---|
committer | Sean Owen <sowen@cloudera.com> | 2015-04-06 10:11:20 +0100 |
commit | 49f38824a4770fc9017e6cc9b1803c4543b0c081 (patch) | |
tree | 0f2b26afcf186c88e6d90caf05daecf5a2a7b6e4 /bin/pyspark2.cmd | |
parent | 0b5d028a93b7d5adb148fbf3a576257bb3a6d8cb (diff) | |
download | spark-49f38824a4770fc9017e6cc9b1803c4543b0c081.tar.gz spark-49f38824a4770fc9017e6cc9b1803c4543b0c081.tar.bz2 spark-49f38824a4770fc9017e6cc9b1803c4543b0c081.zip |
[SPARK-6673] spark-shell.cmd can't start in Windows even when spark was built
added equivalent script to load-spark-env.sh
Author: Masayoshi TSUZUKI <tsudukim@oss.nttdata.co.jp>
Closes #5328 from tsudukim/feature/SPARK-6673 and squashes the following commits:
aaefb19 [Masayoshi TSUZUKI] removed dust.
be3405e [Masayoshi TSUZUKI] [SPARK-6673] spark-shell.cmd can't start in Windows even when spark was built
Diffstat (limited to 'bin/pyspark2.cmd')
-rw-r--r-- | bin/pyspark2.cmd | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/bin/pyspark2.cmd b/bin/pyspark2.cmd index 4f5eb5e206..09b4149c2a 100644 --- a/bin/pyspark2.cmd +++ b/bin/pyspark2.cmd @@ -20,8 +20,7 @@ rem rem Figure out where the Spark framework is installed set SPARK_HOME=%~dp0.. -rem Load environment variables from conf\spark-env.cmd, if it exists -if exist "%SPARK_HOME%\conf\spark-env.cmd" call "%SPARK_HOME%\conf\spark-env.cmd" +call %SPARK_HOME%\bin\load-spark-env.cmd rem Figure out which Python to use. if "x%PYSPARK_DRIVER_PYTHON%"=="x" ( |