[ https://issues.apache.org/jira/browse/SPARK-10119?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Marcelo Vanzin resolved SPARK-10119. ------------------------------------ Resolution: Fixed Assignee: Marcelo Vanzin Fix Version/s: 1.5.0 > Utils.isDynamicAllocationEnabled returns wrong value if dynAlloc is > explicitly disabled > --------------------------------------------------------------------------------------- > > Key: SPARK-10119 > URL: https://issues.apache.org/jira/browse/SPARK-10119 > Project: Spark > Issue Type: Bug > Components: Spark Core > Affects Versions: 1.5.0 > Reporter: Marcelo Vanzin > Assignee: Marcelo Vanzin > Priority: Critical > Fix For: 1.5.0 > > > {code} > def isDynamicAllocationEnabled(conf: SparkConf): Boolean = { > conf.contains("spark.dynamicAllocation.enabled") && > conf.getInt("spark.executor.instances", 0) == 0 > } > {code} > If you have {{spark.dynamicAllocation.enabled=false}} in the config, that > will return true. -- This message was sent by Atlassian JIRA (v6.3.4#6332) --------------------------------------------------------------------- To unsubscribe, e-mail: issues-unsubscr...@spark.apache.org For additional commands, e-mail: issues-h...@spark.apache.org