[ 
https://issues.apache.org/jira/browse/SPARK-11518?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=15103460#comment-15103460
 ] 

Jon Maurer commented on SPARK-11518:
------------------------------------

Try adding quotes: 

rem cmd /V /E /C "%~dp0spark-submit2.cmd" %*

> The script spark-submit.cmd can not handle spark directory with space.
> ----------------------------------------------------------------------
>
>                 Key: SPARK-11518
>                 URL: https://issues.apache.org/jira/browse/SPARK-11518
>             Project: Spark
>          Issue Type: Bug
>          Components: Deploy, Windows
>    Affects Versions: 1.4.1
>            Reporter: Cele Liu
>            Priority: Minor
>
> Unzip the spark into D:\Program Files\Spark, when we submit the app, we got 
> error:
> 'D:\Program' is not recognized as an internal or external command,
> operable program or batch file.
> In spark-submit.cmd, the script does not handle space:
> cmd /V /E /C %~dp0spark-submit2.cmd %*



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)

---------------------------------------------------------------------
To unsubscribe, e-mail: issues-unsubscr...@spark.apache.org
For additional commands, e-mail: issues-h...@spark.apache.org

Reply via email to