Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

allow non-roundrobin manner of mesos scheduling #24

Open
wants to merge 1 commit into
base: master
Choose a base branch
from

Conversation

jisookim0513
Copy link

What changes were proposed in this pull request?

Added an option to not assign tasks in round robin manner to mesos workers.

How was this patch tested?

Added a unit test

@jisookim0513
Copy link
Author

val offerCPUs = getResource(resources, "cpus").toInt
var resources = remainingResources(offerId)

// sometimes you don't want to round-robin create

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

The method comment probably becomes ambiguous:

  • Returns a map from OfferIDs to the tasks to launch on those offers. In order to maximize
  • per-task memory and IO, tasks are round-robin assigned to offers.

@logarithm
Copy link

I'm just wondering are we going to push this changes to apache/spark repo?

@logarithm logarithm requested review from logarithm and removed request for logarithm December 28, 2016 14:06
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