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/08/19 20:24:45 UTC

[jira] [Commented] (SPARK-10119) Utils.isDynamicAllocationEnabled returns wrong value if dynAlloc is explicitly disabled

    [ https://issues.apache.org/jira/browse/SPARK-10119?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=14703513#comment-14703513 ] 

Apache Spark commented on SPARK-10119:
--------------------------------------

User 'vanzin' has created a pull request for this issue:
https://github.com/apache/spark/pull/8316

> 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
>            Priority: Critical
>
> {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-unsubscribe@spark.apache.org
For additional commands, e-mail: issues-help@spark.apache.org