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

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

Jarrett Meyer created SPARK-20613:
-------------------------------------

             Summary: 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