Skip to content

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.

4 participants