diff options
author | Andrew Or <andrewor14@gmail.com> | 2014-05-12 17:39:40 -0700 |
---|---|---|
committer | Patrick Wendell <pwendell@gmail.com> | 2014-05-12 17:45:48 -0700 |
commit | 59695b367ceb99643eb88bb0b4b0442211697561 (patch) | |
tree | d2e7c1151b95ff6fa1bc13103c36c583205755c7 /bin/spark-shell.cmd | |
parent | 02caa7e7eb28fe6ac58ae110bdad3802d66b759d (diff) | |
download | spark-59695b367ceb99643eb88bb0b4b0442211697561.tar.gz spark-59695b367ceb99643eb88bb0b4b0442211697561.tar.bz2 spark-59695b367ceb99643eb88bb0b4b0442211697561.zip |
[SPARK-1736] Spark submit for Windows
Tested on Windows 7.
Author: Andrew Or <andrewor14@gmail.com>
Closes #745 from andrewor14/windows-submit and squashes the following commits:
c0b58fb [Andrew Or] Allow spaces in parameters
162e54d [Andrew Or] Merge branch 'master' of github.com:apache/spark into windows-submit
91597ce [Andrew Or] Make spark-shell.cmd use spark-submit.cmd
af6fd29 [Andrew Or] Add spark submit for Windows
Diffstat (limited to 'bin/spark-shell.cmd')
-rwxr-xr-x | bin/spark-shell.cmd | 5 |
1 files changed, 2 insertions, 3 deletions
diff --git a/bin/spark-shell.cmd b/bin/spark-shell.cmd index 99799128eb..ca0c722c92 100755 --- a/bin/spark-shell.cmd +++ b/bin/spark-shell.cmd @@ -17,7 +17,6 @@ rem See the License for the specific language governing permissions and rem limitations under the License. rem -rem Find the path of sbin -set BIN=%~dp0..\bin\ +set SPARK_HOME=%~dp0.. -cmd /V /E /C %BIN%spark-class2.cmd org.apache.spark.repl.Main %* +cmd /V /E /C %SPARK_HOME%\bin\spark-submit.cmd spark-internal %* --class org.apache.spark.repl.Main |