You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@spark.apache.org by "Hunter Kelly (JIRA)" <ji...@apache.org> on 2015/11/27 13:37:10 UTC

[jira] [Created] (SPARK-12027) Spark on YARN won't ever ask for more executors than there were containers at time of context creation

Hunter Kelly created SPARK-12027:
------------------------------------

             Summary: Spark on YARN won't ever ask for more executors than there were containers at time of context creation
                 Key: SPARK-12027
                 URL: https://issues.apache.org/jira/browse/SPARK-12027
             Project: Spark
          Issue Type: Bug
          Components: Scheduler, YARN
    Affects Versions: 1.5.2
            Reporter: Hunter Kelly


Looking at YarnSchedulerBackend, it appears that totalExpectedExecutors is only ever set at startup.

Based on my experience of running on EMR (and a quick browse through the code supports this), Spark will never ask for more executors than what this was set to.

This means that if I add more nodes to my YARN cluster, Spark will never pick them up.  This is bad.  The whole point of using Spark on EMR/YARN is to be able to add or remove nodes to the cluster and have Spark "Do The Right Thing".



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