You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@spark.apache.org by "Jon Maurer (JIRA)" <ji...@apache.org> on 2016/01/16 22:57:39 UTC

[jira] [Comment Edited] (SPARK-11518) The script spark-submit.cmd can not handle spark directory with space.

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

Jon Maurer edited comment on SPARK-11518 at 1/16/16 9:57 PM:
-------------------------------------------------------------

Try adding quotes: 

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


was (Author: tritab@gmail.com):
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-unsubscribe@spark.apache.org
For additional commands, e-mail: issues-help@spark.apache.org