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/run-example2.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/run-example2.cmd')
-rw-r--r-- | bin/run-example2.cmd | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/bin/run-example2.cmd b/bin/run-example2.cmd index b49d0dcb4f..c3e0221fb6 100644 --- a/bin/run-example2.cmd +++ b/bin/run-example2.cmd @@ -25,8 +25,7 @@ set FWDIR=%~dp0..\ rem Export this as SPARK_HOME set SPARK_HOME=%FWDIR% -rem Load environment variables from conf\spark-env.cmd, if it exists -if exist "%FWDIR%conf\spark-env.cmd" call "%FWDIR%conf\spark-env.cmd" +call %SPARK_HOME%\bin\load-spark-env.cmd rem Test that an argument was given if not "x%1"=="x" goto arg_given |