diff options
author | jerryshao <sshao@hortonworks.com> | 2015-09-28 06:38:54 -0700 |
---|---|---|
committer | Marcelo Vanzin <vanzin@cloudera.com> | 2015-09-28 06:38:54 -0700 |
commit | 353c30bd7dfbd3b76fc8bc9a6dfab9321439a34b (patch) | |
tree | d2c1a16e24b60effbbeaf4ae219b8b72c1621eb6 /docs/mllib-evaluation-metrics.md | |
parent | d8d50ed388d2e695b69d2b93a620045ef2f0bc18 (diff) | |
download | spark-353c30bd7dfbd3b76fc8bc9a6dfab9321439a34b.tar.gz spark-353c30bd7dfbd3b76fc8bc9a6dfab9321439a34b.tar.bz2 spark-353c30bd7dfbd3b76fc8bc9a6dfab9321439a34b.zip |
[SPARK-10790] [YARN] Fix initial executor number not set issue and consolidate the codes
This bug is introduced in [SPARK-9092](https://issues.apache.org/jira/browse/SPARK-9092), `targetExecutorNumber` should use `minExecutors` if `initialExecutors` is not set. Using 0 instead will meet the problem as mentioned in [SPARK-10790](https://issues.apache.org/jira/browse/SPARK-10790).
Also consolidate and simplify some similar code snippets to keep the consistent semantics.
Author: jerryshao <sshao@hortonworks.com>
Closes #8910 from jerryshao/SPARK-10790.
Diffstat (limited to 'docs/mllib-evaluation-metrics.md')
0 files changed, 0 insertions, 0 deletions