Andrew Or created SPARK-2914:
--------------------------------
Summary: spark.*.extraJavaOptions are escaped too many times
Key: SPARK-2914
URL: https://issues.apache.org/jira/browse/SPARK-2914
Project: Spark
Issue Type: Bug
Components: Spark Core
Affects Versions: 1.0.2
Reporter: Andrew Or
Fix For: 1.1.0
If we pass the following to spark.executor.extraJavaOptions,
{code}
-Dthem.quotes="the \"best\" joke ever" -Dthem.backslashes="\\ \\ \\\\"
{code}
These will first be escaped once when the SparkSubmit JVM is launched. This
becomes the following string.
{code}
scala> sc.getConf.get("spark.driver.extraJavaOptions")
res0: String = -Dthem.quotes="the "best" joke ever" -Dthem.backslashes=" \ \ \\
"
{code}
This will be split incorrectly by Utils.splitCommandString.
--
This message was sent by Atlassian JIRA
(v6.2#6252)
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]