[
https://issues.apache.org/jira/browse/SPARK-18114?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=15626382#comment-15626382
]
Apache Spark commented on SPARK-18114:
--------------------------------------
User 'srowen' has created a pull request for this issue:
https://github.com/apache/spark/pull/15719
> 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
> Assignee: Leighton Wong
> Labels: easyfix, newbie
> Fix For: 2.0.3, 2.1.0
>
> 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]