You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@spark.apache.org by "Apache Spark (JIRA)" <ji...@apache.org> on 2017/02/07 03:29:41 UTC

[jira] [Assigned] (SPARK-19482) Fail it if 'spark.master' is set with different value

     [ https://issues.apache.org/jira/browse/SPARK-19482?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Apache Spark reassigned SPARK-19482:
------------------------------------

    Assignee: Apache Spark

> Fail it if 'spark.master' is set with different value
> -----------------------------------------------------
>
>                 Key: SPARK-19482
>                 URL: https://issues.apache.org/jira/browse/SPARK-19482
>             Project: Spark
>          Issue Type: Improvement
>          Components: Spark Core
>    Affects Versions: 2.0.2, 2.1.0
>            Reporter: Genmao Yu
>            Assignee: Apache Spark
>
> First, there is no need to set 'spark.master' multi-times with different values. Second, It is possible for users to set the different 'spark.master' in code with
> `spark-submit` command, and will confuse users. So, we should do once check if the 'spark.master' already exists in settings and if the previous value is the same with current value. Throw a IllegalArgumentException when previous value is different with current value.



--
This message was sent by Atlassian JIRA
(v6.3.15#6346)

---------------------------------------------------------------------
To unsubscribe, e-mail: issues-unsubscribe@spark.apache.org
For additional commands, e-mail: issues-help@spark.apache.org