diff options
author | Masayoshi TSUZUKI <tsudukim@oss.nttdata.co.jp> | 2014-10-07 11:53:22 -0700 |
---|---|---|
committer | Andrew Or <andrewor14@gmail.com> | 2014-10-07 11:53:42 -0700 |
commit | 3a7875d9d61ae8adb75362d0129e72f3d10b5814 (patch) | |
tree | 56d177de1958ef2276ef6b64e19572bf2e91653b | |
parent | 82ab4a796c08bf14906017494ebd5ccdf090d255 (diff) | |
download | spark-3a7875d9d61ae8adb75362d0129e72f3d10b5814.tar.gz spark-3a7875d9d61ae8adb75362d0129e72f3d10b5814.tar.bz2 spark-3a7875d9d61ae8adb75362d0129e72f3d10b5814.zip |
[SPARK-3808] PySpark fails to start in Windows
Modified syntax error of *.cmd script.
Author: Masayoshi TSUZUKI <tsudukim@oss.nttdata.co.jp>
Closes #2669 from tsudukim/feature/SPARK-3808 and squashes the following commits:
7f804e6 [Masayoshi TSUZUKI] [SPARK-3808] PySpark fails to start in Windows
(cherry picked from commit 12e2551ea1773ae19559ecdada35d23608e6b0ec)
Signed-off-by: Andrew Or <andrewor14@gmail.com>
-rw-r--r-- | bin/compute-classpath.cmd | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/bin/compute-classpath.cmd b/bin/compute-classpath.cmd index 9b9e40321e..3cd0579aea 100644 --- a/bin/compute-classpath.cmd +++ b/bin/compute-classpath.cmd @@ -38,7 +38,7 @@ if exist "%FWDIR%conf\spark-env.cmd" call "%FWDIR%conf\spark-env.cmd" rem Build up classpath
set CLASSPATH=%SPARK_CLASSPATH%;%SPARK_SUBMIT_CLASSPATH%
-if "x%SPARK_CONF_DIR%"!="x" (
+if not "x%SPARK_CONF_DIR%"=="x" (
set CLASSPATH=%CLASSPATH%;%SPARK_CONF_DIR%
) else (
set CLASSPATH=%CLASSPATH%;%FWDIR%conf
|