Skip to content

allow non-roundrobin manner of mesos scheduling#24

Open
jisookim0513 wants to merge 1 commit intomasterfrom
mesos-non-roundrobin
Open

allow non-roundrobin manner of mesos scheduling#24
jisookim0513 wants to merge 1 commit intomasterfrom
mesos-non-roundrobin

Conversation

@jisookim0513
Copy link
Copy Markdown

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
Copy Markdown
Author

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

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

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
Copy Markdown

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