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