You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@spark.apache.org by "Sean Owen (JIRA)" <ji...@apache.org> on 2016/11/01 13:46:58 UTC
[jira] [Resolved] (SPARK-18114) MesosClusterScheduler generate bad
command options
[ https://issues.apache.org/jira/browse/SPARK-18114?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Sean Owen resolved SPARK-18114.
-------------------------------
Resolution: Fixed
Assignee: Leighton Wong
Fix Version/s: 2.1.0
2.0.3
Resolved by https://github.com/apache/spark/pull/15643
> 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: issues-unsubscribe@spark.apache.org
For additional commands, e-mail: issues-help@spark.apache.org