Skip to content

Commit 803218b

Browse files
committed
Actually respect SPARK_*_CLASSPATH
This was simply missing in the existing code.
1 parent eeb34a0 commit 803218b

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

bin/compute-classpath.cmd

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -36,7 +36,8 @@ rem Load environment variables from conf\spark-env.cmd, if it exists
3636
if exist "%FWDIR%conf\spark-env.cmd" call "%FWDIR%conf\spark-env.cmd"
3737

3838
rem Build up classpath
39-
set CLASSPATH=%FWDIR%conf
39+
set CLASSPATH=%SPARK_CLASSPATH%;%SPARK_SUBMIT_CLASSPATH%;%FWDIR%conf
40+
4041
if exist "%FWDIR%RELEASE" (
4142
for %%d in ("%FWDIR%lib\spark-assembly*.jar") do (
4243
set ASSEMBLY_JAR=%%d

0 commit comments

Comments
 (0)