Skip to content

Conversation

@tdas
Copy link
Contributor

@tdas tdas commented Aug 8, 2016

What changes were proposed in this pull request?

RequestExecutors and killExecutor are public developer APIs for managing the number of executors allocated to the SparkContext. For consistency, requestTotalExecutors should also be a public Developer API, as it provides similar functionality. In fact, using requestTotalExecutors is more convenient that requestExecutors as the former is idempotent and the latter is not.

@tdas
Copy link
Contributor Author

tdas commented Aug 8, 2016

@rxin

@tdas tdas changed the title Make requestTotalExecutors public Developer API to be consistent with requestExecutors/killExecutor Make requestTotalExecutors public Developer API to be consistent with requestExecutors/killExecutors Aug 8, 2016
@tdas tdas changed the title Make requestTotalExecutors public Developer API to be consistent with requestExecutors/killExecutors [SPARK-16953] Make requestTotalExecutors public Developer API to be consistent with requestExecutors/killExecutors Aug 8, 2016
@yhuai
Copy link
Contributor

yhuai commented Aug 8, 2016

lgtm

@SparkQA
Copy link

SparkQA commented Aug 8, 2016

Test build #63369 has finished for PR 14541 at commit 5e5d67d.

  • This patch passes all tests.
  • This patch merges cleanly.
  • This patch adds no public classes.

@tdas
Copy link
Contributor Author

tdas commented Aug 8, 2016

Thanks @yhuai, merging this to master and 2.0

asfgit pushed a commit that referenced this pull request Aug 8, 2016
…onsistent with requestExecutors/killExecutors

## What changes were proposed in this pull request?

RequestExecutors and killExecutor are public developer APIs for managing the number of executors allocated to the SparkContext. For consistency, requestTotalExecutors should also be a public Developer API, as it provides similar functionality. In fact, using requestTotalExecutors is more convenient that requestExecutors as the former is idempotent and the latter is not.

Author: Tathagata Das <[email protected]>

Closes #14541 from tdas/SPARK-16953.

(cherry picked from commit 8650239)
Signed-off-by: Tathagata Das <[email protected]>
@asfgit asfgit closed this in 8650239 Aug 8, 2016
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants