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-unsubscr...@spark.apache.org
For additional commands, e-mail: issues-h...@spark.apache.org

Reply via email to