aboutsummaryrefslogtreecommitdiff
path: root/bin/spark-submit.cmd
diff options
context:
space:
mode:
authorMasayoshi TSUZUKI <tsudukim@oss.nttdata.co.jp>2016-03-01 14:37:36 +0000
committerSean Owen <sowen@cloudera.com>2016-03-01 14:37:36 +0000
commit12a2a57e1af21da0aa4275971365d76a8fc84a43 (patch)
treebfe0ceb2007f24b837384c550c3c5cb580461881 /bin/spark-submit.cmd
parent3c5f5e3b5c4eb69472fdd8124aa9988bd8d933b5 (diff)
downloadspark-12a2a57e1af21da0aa4275971365d76a8fc84a43.tar.gz
spark-12a2a57e1af21da0aa4275971365d76a8fc84a43.tar.bz2
spark-12a2a57e1af21da0aa4275971365d76a8fc84a43.zip
[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.
Diffstat (limited to 'bin/spark-submit.cmd')
-rw-r--r--bin/spark-submit.cmd2
1 files changed, 1 insertions, 1 deletions
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" %*