Return-Path: X-Original-To: archive-asf-public-internal@cust-asf2.ponee.io Delivered-To: archive-asf-public-internal@cust-asf2.ponee.io Received: from cust-asf.ponee.io (cust-asf.ponee.io [163.172.22.183]) by cust-asf2.ponee.io (Postfix) with ESMTP id 2E49C200C8C for ; Tue, 23 May 2017 06:23:52 +0200 (CEST) Received: by cust-asf.ponee.io (Postfix) id 2CF0F160BD4; Tue, 23 May 2017 04:23:52 +0000 (UTC) Delivered-To: archive-asf-public@cust-asf.ponee.io Received: from mail.apache.org (hermes.apache.org [140.211.11.3]) by cust-asf.ponee.io (Postfix) with SMTP id 4CC49160BBF for ; Tue, 23 May 2017 06:23:51 +0200 (CEST) Received: (qmail 213 invoked by uid 500); 23 May 2017 04:23:50 -0000 Mailing-List: contact reviews-help@aurora.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: reviews@aurora.apache.org Delivered-To: mailing list reviews@aurora.apache.org Received: (qmail 202 invoked by uid 99); 23 May 2017 04:23:50 -0000 Received: from pnap-us-west-generic-nat.apache.org (HELO spamd3-us-west.apache.org) (209.188.14.142) by apache.org (qpsmtpd/0.29) with ESMTP; Tue, 23 May 2017 04:23:50 +0000 Received: from localhost (localhost [127.0.0.1]) by spamd3-us-west.apache.org (ASF Mail Server at spamd3-us-west.apache.org) with ESMTP id B3C52190D5A; Tue, 23 May 2017 04:23:49 +0000 (UTC) X-Virus-Scanned: Debian amavisd-new at spamd3-us-west.apache.org X-Spam-Flag: NO X-Spam-Score: 3.251 X-Spam-Level: *** X-Spam-Status: No, score=3.251 tagged_above=-999 required=6.31 tests=[HEADER_FROM_DIFFERENT_DOMAINS=0.001, HTML_MESSAGE=2, KAM_LAZY_DOMAIN_SECURITY=1, KAM_LOTSOFHASH=0.25, RP_MATCHES_RCVD=-0.001, URIBL_BLOCKED=0.001] autolearn=disabled Received: from mx1-lw-eu.apache.org ([10.40.0.8]) by localhost (spamd3-us-west.apache.org [10.40.0.10]) (amavisd-new, port 10024) with ESMTP id Q6jHVOEsxYih; Tue, 23 May 2017 04:23:47 +0000 (UTC) Received: from mailrelay1-us-west.apache.org (mailrelay1-us-west.apache.org [209.188.14.139]) by mx1-lw-eu.apache.org (ASF Mail Server at mx1-lw-eu.apache.org) with ESMTP id 0C3FD5FC57; Tue, 23 May 2017 04:23:47 +0000 (UTC) Received: from reviews.apache.org (unknown [10.41.0.12]) by mailrelay1-us-west.apache.org (ASF Mail Server at mailrelay1-us-west.apache.org) with ESMTP id 6C840E015A; Tue, 23 May 2017 04:23:46 +0000 (UTC) Received: from reviews-vm2.apache.org (localhost [IPv6:::1]) by reviews.apache.org (ASF Mail Server at reviews-vm2.apache.org) with ESMTP id 3C643C402E3; Tue, 23 May 2017 04:23:46 +0000 (UTC) Content-Type: multipart/alternative; boundary="===============6171628346989617860==" MIME-Version: 1.0 Subject: Re: Review Request 59039: Add the ability to customize scheduling logic. From: David McLaughlin To: Santhosh Kumar Shanmugham , Stephan Erb , Zameer Manji Cc: Joshua Cohen , Aurora ReviewBot , David McLaughlin , Aurora Date: Tue, 23 May 2017 04:23:46 -0000 Message-ID: <20170523042346.58535.79004@reviews-vm2.apache.org> X-ReviewBoard-URL: https://reviews.apache.org/ Auto-Submitted: auto-generated Sender: David McLaughlin X-ReviewGroup: Aurora X-Auto-Response-Suppress: DR, RN, OOF, AutoReply X-ReviewRequest-URL: https://reviews.apache.org/r/59039/ X-Sender: David McLaughlin References: <20170512142002.53986.70182@reviews-vm2.apache.org> In-Reply-To: <20170512142002.53986.70182@reviews-vm2.apache.org> X-ReviewBoard-Diff-For: src/main/java/org/apache/aurora/scheduler/preemptor/PreemptionVictimFilterModule.java X-ReviewBoard-Diff-For: src/main/java/org/apache/aurora/scheduler/preemptor/PendingTaskProcessorModule.java X-ReviewBoard-Diff-For: src/main/java/org/apache/aurora/scheduler/state/FirstFitTaskAssignerModule.java Reply-To: David McLaughlin X-ReviewRequest-Repository: aurora archived-at: Tue, 23 May 2017 04:23:52 -0000 --===============6171628346989617860== MIME-Version: 1.0 Content-Type: text/plain; charset="utf-8" Content-Transfer-Encoding: 7bit > On May 12, 2017, 2:20 p.m., Stephan Erb wrote: > > src/main/java/org/apache/aurora/scheduler/preemptor/PreemptorModule.java > > Line 130 (original), 174 (patched) > > > > > > Changes like these and others in this patch could potentially break our benchmarking scripts. > > > > Could you please make sure that at least the `SchedulingBenchmarks` continue to run? > > > > We already have several broken the benchmarks suites `ThriftApiBenchmarks`, `SnapshotBenchmarks` `StatusUpdateBenchmark` and `ThriftApiBenchmarks`. Would be a pitty if we break even more. > > Joshua Cohen wrote: > Not directly related here, but should we add something that regularly runs the benchmarks and alerts if they stop working (or if there's a major regression in terms of perf)? > > Stephan Erb wrote: > Good idea! We might need some tweaking of the benchmark footprint but that should be feasible. > > David McLaughlin wrote: > Do the SchedulingBenchmarks really pass for you on master? I spent a while trying to debug the broken scheduling benchmarks.. but going back a month of commits they seem broken then too. This issue is making it really difficult to figure out the missing guice bindings: https://github.com/google/guice/issues/757 AFAICT, they've been broken since this commit: https://github.com/apache/aurora/commit/c32f14c75e7f8620aedb12d38aee8ca1d2427724 I'll try and fix them in a separate patch. - David ----------------------------------------------------------- This is an automatically generated e-mail. To reply, visit: https://reviews.apache.org/r/59039/#review174790 ----------------------------------------------------------- On May 11, 2017, 9:46 p.m., David McLaughlin wrote: > > ----------------------------------------------------------- > This is an automatically generated e-mail. To reply, visit: > https://reviews.apache.org/r/59039/ > ----------------------------------------------------------- > > (Updated May 11, 2017, 9:46 p.m.) > > > Review request for Aurora, Santhosh Kumar Shanmugham, Stephan Erb, and Zameer Manji. > > > Bugs: AURORA-1920 > https://issues.apache.org/jira/browse/AURORA-1920 > > > Repository: aurora > > > Description > ------- > > Add the ability to replace the first-fit scheduling algorithm and associated first-fit preemption logic. > > See design/proposal document here: https://docs.google.com/document/d/1fVHLt9AF-YbOCVCDMQmi5DATVusn-tqY8DldKbjVEm0/edit?usp=sharing > > > Diffs > ----- > > RELEASE-NOTES.md 4e930fb1c5b87bca3cf4d8de804d69301f013f07 > docs/development/design-documents.md c942643d6220cb61eb97289b35d92facae06a682 > src/main/java/org/apache/aurora/scheduler/preemptor/PendingTaskProcessorModule.java PRE-CREATION > src/main/java/org/apache/aurora/scheduler/preemptor/PreemptionVictimFilterModule.java PRE-CREATION > src/main/java/org/apache/aurora/scheduler/preemptor/PreemptorModule.java 66d20290d381c041ac2f28903d6ba1468b352172 > src/main/java/org/apache/aurora/scheduler/state/FirstFitTaskAssignerModule.java PRE-CREATION > src/main/java/org/apache/aurora/scheduler/state/StateModule.java 0186484208965c5b8942ec76eb078b30190c7d57 > src/test/java/org/apache/aurora/scheduler/preemptor/PreemptorModuleTest.java da064e3589951d4f4cbff96d1ed89d9d7e4d3882 > > > Diff: https://reviews.apache.org/r/59039/diff/2/ > > > Testing > ------- > > ./src/test/sh/org/apache/aurora/e2e/test_end_to_end.sh > > I've used this in one of our large-scale test clusters to plug in a custom task assigner. We were able to remove our modifications to the OSS code-base and use this mechanism to do what we need. Here is a rough gist of what it looks like: > https://gist.github.com/DavidMcLaughlin/5d5472cde15343aef8705478f644ddb9 > > > Thanks, > > David McLaughlin > > --===============6171628346989617860==--