aboutsummaryrefslogtreecommitdiff
path: root/bin/run-example2.cmd
diff options
context:
space:
mode:
Diffstat (limited to 'bin/run-example2.cmd')
-rw-r--r--bin/run-example2.cmd3
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