[ https://issues.apache.org/jira/browse/SPARK-21877?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Hyukjin Kwon resolved SPARK-21877. ---------------------------------- Resolution: Fixed Fix Version/s: 2.3.0 Issue resolved by pull request 19090 [https://github.com/apache/spark/pull/19090] > Windows command script can not handle quotes in parameter > --------------------------------------------------------- > > Key: SPARK-21877 > URL: https://issues.apache.org/jira/browse/SPARK-21877 > Project: Spark > Issue Type: Bug > Components: Deploy, Windows > Affects Versions: 2.2.0 > Environment: Spark version: spark-2.2.0-bin-hadoop2.7 > Windows version: Windows 10 > Reporter: Xiaokai Zhao > Fix For: 2.3.0 > > > All the windows command scripts can not handle quotes in parameter. > Run a windows command shell with parameter which has quotes can reproduce the > bug: > {quote} > C:\Users\meng\software\spark-2.2.0-bin-hadoop2.7> bin\spark-shell > --driver-java-options " -Dfile.encoding=utf-8 " > 'C:\Users\meng\software\spark-2.2.0-bin-hadoop2.7\bin\spark-shell2.cmd" > --driver-java-options "' is not recognized as an internal or external command, > operable program or batch file. > {quote} > Windows recognize "--driver-java-options" as part of the command. > All the Windows command script has the following code have the bug. > {quote} > cmd /V /E /C "<other command>" %* > {quote} -- This message was sent by Atlassian JIRA (v6.4.14#64029) --------------------------------------------------------------------- To unsubscribe, e-mail: issues-unsubscr...@spark.apache.org For additional commands, e-mail: issues-h...@spark.apache.org