[ https://issues.apache.org/jira/browse/SPARK-19482?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=15855240#comment-15855240 ]
Apache Spark commented on SPARK-19482: -------------------------------------- User 'uncleGen' has created a pull request for this issue: https://github.com/apache/spark/pull/16827 > 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 > > 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-unsubscr...@spark.apache.org For additional commands, e-mail: issues-h...@spark.apache.org