Skip to content

Conversation

@pwendell
Copy link
Contributor

Functionally, this is just a small change on top of #3393 (by @jongyoul). The issue being addressed is discussed in the comments there. I have not yet added a test for the bug there. I will add one shortly.

I've also done some minor renaming/clean-up of variables in this class and tests.

jongyoul and others added 2 commits November 21, 2014 09:07
…ed offers from acceptedOffers

- Added code for declining unused offers among acceptedOffers
- Edited testCase for checking declining unused offers
@pwendell
Copy link
Contributor Author

/cc @tnachen

@SparkQA
Copy link

SparkQA commented Nov 25, 2014

Test build #23802 has started for PR 3436 at commit c4f0697.

  • This patch merges cleanly.

@tnachen
Copy link
Contributor

tnachen commented Nov 25, 2014

@pwendell LGTM

@jongyoul
Copy link
Member

@pwendell LGTM, would I add more code in this patch?

@pwendell
Copy link
Contributor Author

@jongyoul we'll just merge the modified patch. I will assign you as the author of the patch when we merge it. I still need to add more unit tests before it's ready.

@SparkQA
Copy link

SparkQA commented Nov 25, 2014

Test build #23806 has started for PR 3436 at commit 58c35b5.

  • This patch merges cleanly.

@pwendell
Copy link
Contributor Author

Okay I've added a unit test for this and made sure that the old code failed under the test. Thanks for looking at this, I'll do another pass later and make sure that it looks good.

@SparkQA
Copy link

SparkQA commented Nov 25, 2014

Test build #23802 has finished for PR 3436 at commit c4f0697.

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

@AmplabJenkins
Copy link

Test PASSed.
Refer to this link for build results (access rights to CI server needed):
https://amplab.cs.berkeley.edu/jenkins//job/SparkPullRequestBuilder/23802/
Test PASSed.

@SparkQA
Copy link

SparkQA commented Nov 25, 2014

Test build #23806 has finished for PR 3436 at commit 58c35b5.

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

@AmplabJenkins
Copy link

Test PASSed.
Refer to this link for build results (access rights to CI server needed):
https://amplab.cs.berkeley.edu/jenkins//job/SparkPullRequestBuilder/23806/
Test PASSed.

@asfgit asfgit closed this in b043c27 Nov 25, 2014
asfgit pushed a commit that referenced this pull request Nov 25, 2014
Functionally, this is just a small change on top of #3393 (by jongyoul). The issue being addressed is discussed in the comments there. I have not yet added a test for the bug there. I will add one shortly.

I've also done some minor renaming/clean-up of variables in this class and tests.

Author: Patrick Wendell <[email protected]>
Author: Jongyoul Lee <[email protected]>

Closes #3436 from pwendell/mesos-issue and squashes the following commits:

58c35b5 [Patrick Wendell] Adding unit test for this situation
c4f0697 [Patrick Wendell] Additional clean-up and fixes on top of existing fix
f20f1b3 [Jongyoul Lee] [SPARK-4525] MesosSchedulerBackend.resourceOffers cannot decline unused offers from acceptedOffers - Added code for declining unused offers among acceptedOffers - Edited testCase for checking declining unused offers
asfgit pushed a commit that referenced this pull request Nov 25, 2014
Functionally, this is just a small change on top of #3393 (by jongyoul). The issue being addressed is discussed in the comments there. I have not yet added a test for the bug there. I will add one shortly.

I've also done some minor renaming/clean-up of variables in this class and tests.

Author: Patrick Wendell <[email protected]>
Author: Jongyoul Lee <[email protected]>

Closes #3436 from pwendell/mesos-issue and squashes the following commits:

58c35b5 [Patrick Wendell] Adding unit test for this situation
c4f0697 [Patrick Wendell] Additional clean-up and fixes on top of existing fix
f20f1b3 [Jongyoul Lee] [SPARK-4525] MesosSchedulerBackend.resourceOffers cannot decline unused offers from acceptedOffers - Added code for declining unused offers among acceptedOffers - Edited testCase for checking declining unused offers

(cherry picked from commit b043c27)
Signed-off-by: Patrick Wendell <[email protected]>
asfgit pushed a commit that referenced this pull request Nov 25, 2014
Functionally, this is just a small change on top of #3393 (by jongyoul). The issue being addressed is discussed in the comments there. I have not yet added a test for the bug there. I will add one shortly.

I've also done some minor renaming/clean-up of variables in this class and tests.

Author: Patrick Wendell <[email protected]>
Author: Jongyoul Lee <[email protected]>

Closes #3436 from pwendell/mesos-issue and squashes the following commits:

58c35b5 [Patrick Wendell] Adding unit test for this situation
c4f0697 [Patrick Wendell] Additional clean-up and fixes on top of existing fix
f20f1b3 [Jongyoul Lee] [SPARK-4525] MesosSchedulerBackend.resourceOffers cannot decline unused offers from acceptedOffers - Added code for declining unused offers among acceptedOffers - Edited testCase for checking declining unused offers

(cherry picked from commit b043c27)
Signed-off-by: Patrick Wendell <[email protected]>
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.

5 participants