[
https://issues.apache.org/jira/browse/SPARK-18114?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Sean Owen updated SPARK-18114:
------------------------------
Flags: (was: Patch)
Target Version/s: (was: 2.0.1)
Fix Version/s: (was: 2.0.2)
> MesosClusterScheduler generate bad command options
> --------------------------------------------------
>
> Key: SPARK-18114
> URL: https://issues.apache.org/jira/browse/SPARK-18114
> Project: Spark
> Issue Type: Bug
> Components: Mesos
> Affects Versions: 2.0.1
> Environment: CentOS 7, Jdk8, scala 2.11.8
> Reporter: Leighton Wong
> Labels: easyfix, newbie
> Original Estimate: 2h
> Remaining Estimate: 2h
>
> {code:title=MesosClusterScheduler.java|borderStyle=solid}
> desc.schedulerProperties
> .filter { case (key, _) => !replicatedOptionsBlacklist.contains(key) }
> .foreach { case (key, value) => options ++= Seq("--conf",
> s"$key=${shellEscape(value)}") }
> options
> {code}
> As above, --conf option value is not enclosed by "", for example, if we have
> a multi value config like
> {quote}
> spark.driver.extraJavaOptions=
> -Dlog4j.configuration=file:./conf/log4j-server.properties
> -Dalluxio.user.file.writetype.default=THROUGH
> {quote}
> Without "" the next alluxio config will be treated as spark-submit options
> and cause error.
--
This message was sent by Atlassian JIRA
(v6.3.4#6332)
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]