spark-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From sro...@apache.org
Subject spark git commit: [SPARK-13592][WINDOWS] fix path of spark-submit2.cmd in spark-submit.cmd
Date Tue, 01 Mar 2016 14:37:44 GMT
Repository: spark
Updated Branches:
  refs/heads/master 3c5f5e3b5 -> 12a2a57e1


[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.


Project: http://git-wip-us.apache.org/repos/asf/spark/repo
Commit: http://git-wip-us.apache.org/repos/asf/spark/commit/12a2a57e
Tree: http://git-wip-us.apache.org/repos/asf/spark/tree/12a2a57e
Diff: http://git-wip-us.apache.org/repos/asf/spark/diff/12a2a57e

Branch: refs/heads/master
Commit: 12a2a57e1af21da0aa4275971365d76a8fc84a43
Parents: 3c5f5e3
Author: Masayoshi TSUZUKI <tsudukim@oss.nttdata.co.jp>
Authored: Tue Mar 1 14:37:36 2016 +0000
Committer: Sean Owen <sowen@cloudera.com>
Committed: Tue Mar 1 14:37:36 2016 +0000

----------------------------------------------------------------------
 bin/spark-submit.cmd | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/spark/blob/12a2a57e/bin/spark-submit.cmd
----------------------------------------------------------------------
diff --git a/bin/spark-submit.cmd b/bin/spark-submit.cmd
index f121b62..f301606 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" %*


---------------------------------------------------------------------
To unsubscribe, e-mail: commits-unsubscribe@spark.apache.org
For additional commands, e-mail: commits-help@spark.apache.org


Mime
View raw message