GitHub user jerryshao opened a pull request:

    https://github.com/apache/spark/pull/6430

    [SPARK-7699][Core] Lazy start the scheduler for dynamic allocation

    This patch propose to lazy start the scheduler for dynamic allocation to 
avoid fast ramp down executor numbers is load is less.
    
    This implementation will:
    1. immediately start the scheduler is `numExecutorsTarget` is 0, this is 
the expected behavior.
    2. if `numExecutorsTarget` is not zero, start the scheduler until the 
number is satisfied, if the load is less, this initial started executors will 
last for at least 60 seconds, user will have a window to submit a job, no need 
to revamp the executors.
    3. if `numExecutorsTarget` is not satisfied until the timeout, this means 
resource is not enough, the scheduler will start until this timeout, will not 
wait infinitely.
    
    Please help to review, thanks a lot.

You can merge this pull request into a Git repository by running:

    $ git pull https://github.com/jerryshao/apache-spark SPARK-7699

Alternatively you can review and apply these changes as the patch at:

    https://github.com/apache/spark/pull/6430.patch

To close this pull request, make a commit to your master/trunk branch
with (at least) the following in the commit message:

    This closes #6430
    
----
commit 25af47b6680370465c5f012ba48760424bc1c8ce
Author: jerryshao <[email protected]>
Date:   2015-05-27T06:50:50Z

    Lazy start the scheduler for dynamic allocation

----


---
If your project is set up for it, you can reply to this email and have your
reply appear on GitHub as well. If your project does not have this feature
enabled and wishes so, or if the feature is enabled but not working, please
contact infrastructure at [email protected] or file a JIRA ticket
with INFRA.
---

---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to