Skip to content

Commit

Permalink
[SPARK-13592][WINDOWS] fix path of spark-submit2.cmd in spark-submit.cmd
Browse files Browse the repository at this point in the history
## 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 apache#11442 from tsudukim/feature/SPARK-13592.
  • Loading branch information
tsudukim authored and srowen committed Mar 1, 2016
1 parent 3c5f5e3 commit 12a2a57
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion bin/spark-submit.cmd
Original file line number Diff line number Diff line change
Expand Up @@ -20,4 +20,4 @@ rem
rem This is the entry point for running Spark submit. To avoid polluting the
rem environment, it just launches a new cmd to do the real work.

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

0 comments on commit 12a2a57

Please sign in to comment.