You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@spark.apache.org by "Apache Spark (JIRA)" <ji...@apache.org> on 2017/05/05 11:08:04 UTC

[jira] [Commented] (SPARK-20613) Double quotes in Windows batch script

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

Apache Spark commented on SPARK-20613:
--------------------------------------

User 'jarrettmeyer' has created a pull request for this issue:
https://github.com/apache/spark/pull/17861

> Double quotes in Windows batch script
> -------------------------------------
>
>                 Key: SPARK-20613
>                 URL: https://issues.apache.org/jira/browse/SPARK-20613
>             Project: Spark
>          Issue Type: Bug
>          Components: Windows
>    Affects Versions: 2.1.1
>            Reporter: Jarrett Meyer
>            Priority: Blocker
>
> In {{bin/spark-class2.cmd}}, both the line that sets the {{RUNNER}} and the like that invokes the {{RUNNER}} have quotes. This opens and closes the quote immediately, producing something like
> {code}
> RUNNER=""C:\Program Files (x86)\Java\jre1.8.0_131\bin\java""
>        ab          c
> {code}
> The quote above {{a}} opens the quote. The quote above {{b}} closes the quote. This creates a space at position {{c}}, which is invalid syntax.



--
This message was sent by Atlassian JIRA
(v6.3.15#6346)

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