GitHub user jerryshao opened a pull request:

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

    [SPARK-16435][YARN][MINOR] Add warning log if initialExecutors is less than 
minExecutors

    ## What changes were proposed in this pull request?
    
    Currently if `spark.dynamicAllocation.initialExecutors` is less than 
`spark.dynamicAllocation.minExecutors`, Spark will automatically pick the 
minExecutors without any warning. While in 1.6 Spark will throw exception if 
configured like this. So here propose to add warning log if these parameters 
are configured invalidly.
    
    
    ## How was this patch tested?
    
    Unit test added to verify the scenario.
    
    


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

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

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

    https://github.com/apache/spark/pull/14149.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 #14149
    
----
commit f08eabdc9c20f29dd3a007784a4b893172bdc2db
Author: jerryshao <ss...@hortonworks.com>
Date:   2016-07-12T08:20:04Z

    Add warning log if initialExecutors is less than minExecutors

----


---
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 infrastruct...@apache.org or file a JIRA ticket
with INFRA.
---

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

Reply via email to