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鈥檒l occasionally send you account related emails.

Already on GitHub? Sign in to your account

Better task balancing #1482

merged 73 commits into from Jun 8, 2017
Jump to file or symbol
Failed to load files and symbols.
+1 鈭0
Diff settings


Just for now

Viewing a subset of changes. View all

log all finals scores

  • Loading branch information...
darcatron committed May 9, 2017
commit b5f6695db4c1aaf1394ef16ba4c041e69f79ab60
@@ -158,6 +158,7 @@ public SingularityMesosOfferScheduler(MesosConfiguration mesosConfiguration,
(k, v) -> (scorePerOffer.isEmpty() ? (v == null ? offerHolders.size() : v + offerHolders.size()) : null));
LOG.trace("Match attempts per task is currently {}", offerMatchAttemptsPerTask);
LOG.trace("Score per offer is {}", scorePerOffer);
if (!scorePerOffer.isEmpty()) {
SingularityOfferHolder bestOffer = Collections.max(scorePerOffer.entrySet(), Map.Entry.comparingByValue()).getKey();
ProTip! Use n and p to navigate between commits in a pull request.