[
https://issues.apache.org/jira/browse/SPARK-7699?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=14560227#comment-14560227
]
Sandy Ryza commented on SPARK-7699:
-----------------------------------
I think tying this the AM-RM heartbeat would just make things more confusing,
especially now that the heartbeat interval is variable. Whether we've had a
fair chance to allocate resources also depends on internal YARN configurations,
like the NM-RM heartbeat interval or whether continuous scheduling is enabled.
I don't think there's any easy notion of "fair chance" that doesn't rely on a
timeout.
Another option would be to avoid adjusting targetNumExecutors down before the
first job is submitted.
> Number of executors can be reduced from initial before work is scheduled
> ------------------------------------------------------------------------
>
> Key: SPARK-7699
> URL: https://issues.apache.org/jira/browse/SPARK-7699
> Project: Spark
> Issue Type: Improvement
> Components: Spark Core
> Reporter: meiyoula
> Priority: Minor
>
> spark.dynamicAllocation.minExecutors 2
> spark.dynamicAllocation.initialExecutors 3
> spark.dynamicAllocation.maxExecutors 4
> Just run the spark-shell with above configurations, the initial executor
> number is 2.
--
This message was sent by Atlassian JIRA
(v6.3.4#6332)
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]