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 2015/04/05 11:11:33 UTC

[jira] [Assigned] (SPARK-6630) SparkConf.setIfMissing should only evaluate the assigned value if indeed missing

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

Apache Spark reassigned SPARK-6630:
-----------------------------------

    Assignee: Apache Spark

> SparkConf.setIfMissing should only evaluate the assigned value if indeed missing
> --------------------------------------------------------------------------------
>
>                 Key: SPARK-6630
>                 URL: https://issues.apache.org/jira/browse/SPARK-6630
>             Project: Spark
>          Issue Type: Improvement
>          Components: Spark Core
>    Affects Versions: 1.3.0
>            Reporter: Svend Vanderveken
>            Assignee: Apache Spark
>            Priority: Minor
>
> The method setIfMissing() in SparkConf is currently systematically evaluating the right hand side of the assignment even if not used. This leads to unnecessary computation, like in the case of 
> {code}
>   conf.setIfMissing("spark.driver.host", Utils.localHostName())
> {code}



--
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