spark-instrumented-optimizer/core/src
jerryshao d8220c1e5e [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.

Author: jerryshao <sshao@hortonworks.com>

Closes #14149 from jerryshao/SPARK-16435.
2016-07-13 13:24:47 -05:00
..
main [SPARK-16435][YARN][MINOR] Add warning log if initialExecutors is less than minExecutors 2016-07-13 13:24:47 -05:00
test [SPARK-16435][YARN][MINOR] Add warning log if initialExecutors is less than minExecutors 2016-07-13 13:24:47 -05:00