From 12a2a57e1af21da0aa4275971365d76a8fc84a43 Mon Sep 17 00:00:00 2001 From: Masayoshi TSUZUKI Date: Tue, 1 Mar 2016 14:37:36 +0000 Subject: [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 Closes #11442 from tsudukim/feature/SPARK-13592. --- bin/spark-submit.cmd | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'bin') diff --git a/bin/spark-submit.cmd b/bin/spark-submit.cmd index f121b62a53..f301606933 100644 --- a/bin/spark-submit.cmd +++ b/bin/spark-submit.cmd @@ -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" %* -- cgit v1.2.3