Skip to content
Snippets Groups Projects
Commit 12a2a57e authored by Masayoshi TSUZUKI's avatar Masayoshi TSUZUKI Committed by Sean Owen
Browse files

[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 <tsudukim@oss.nttdata.co.jp>

Closes #11442 from tsudukim/feature/SPARK-13592.
parent 3c5f5e3b
No related branches found
No related tags found
No related merge requests found
...@@ -20,4 +20,4 @@ rem ...@@ -20,4 +20,4 @@ rem
rem This is the entry point for running Spark submit. To avoid polluting the 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. 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% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment