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:10:04 UTC
[jira] [Updated] (SPARK-20613) Double quotes in Windows batch
script
[ https://issues.apache.org/jira/browse/SPARK-20613?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Jarrett Meyer updated SPARK-20613:
----------------------------------
Description:
This is a new issue in version 2.1.1. This problem was not present in 2.1.0.
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.
was:
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.
> 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
>
> This is a new issue in version 2.1.1. This problem was not present in 2.1.0.
> 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