Skip to content

Commit 12a2a57

Browse files
tsudukimsrowen
authored andcommitted
[SPARK-13592][WINDOWS] fix path of spark-submit2.cmd in spark-submit.cmd
## What changes were proposed in this pull request? This patch fixes the problem that pyspark fails on Windows because pyspark can't find ```spark-submit2.cmd```. ## How was this patch tested? manual tests: I ran ```bin\pyspark.cmd``` and checked if pyspark is launched correctly after this patch is applyed. Author: Masayoshi TSUZUKI <[email protected]> Closes #11442 from tsudukim/feature/SPARK-13592.
1 parent 3c5f5e3 commit 12a2a57

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

bin/spark-submit.cmd

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -20,4 +20,4 @@ rem
2020
rem This is the entry point for running Spark submit. To avoid polluting the
2121
rem environment, it just launches a new cmd to do the real work.
2222

23-
cmd /V /E /C spark-submit2.cmd %*
23+
cmd /V /E /C "%~dp0spark-submit2.cmd" %*

0 commit comments

Comments
 (0)