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

Patrick Wendell resolved SPARK-2635.
------------------------------------

       Resolution: Fixed
    Fix Version/s: 1.1.0

Issue resolved by pull request 1525
[https://github.com/apache/spark/pull/1525]

> Fix race condition at SchedulerBackend.isReady in standalone mode
> -----------------------------------------------------------------
>
>                 Key: SPARK-2635
>                 URL: https://issues.apache.org/jira/browse/SPARK-2635
>             Project: Spark
>          Issue Type: Bug
>          Components: Spark Core
>    Affects Versions: 1.0.0
>            Reporter: Zhihui
>             Fix For: 1.1.0
>
>
> In SPARK-1946(PR #900), configuration 
> spark.scheduler.minRegisteredExecutorsRatio was introduced. However, in 
> standalone mode, there is a race condition where isReady() can return true 
> because totalExpectedExecutors has not been correctly set.
> Because expected executors is uncertain in standalone mode, the PR try to use 
> CPU cores(--total-executor-cores) as expected resources to judge whether 
> SchedulerBackend is ready.



--
This message was sent by Atlassian JIRA
(v6.2#6252)

---------------------------------------------------------------------
To unsubscribe, e-mail: issues-unsubscr...@spark.apache.org
For additional commands, e-mail: issues-h...@spark.apache.org

Reply via email to