aurora-reviews mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Florian Pfeiffer" <>
Subject Re: Review Request 30010: [AURORA-184] Remove hardcoded 'host' and 'rack' limit constraints
Date Fri, 23 Jan 2015 09:20:30 GMT

This is an automatically generated e-mail. To reply, visit:

(Updated Jan. 23, 2015, 9:20 vorm.)

Review request for Aurora, Bill Farner and Zameer Manji.

Bugs: AURORA-184

Repository: aurora


[AURORA-184] Remove hardcoded 'host' and 'rack' limit constraints

This is the first step for AURORA-184, that removes the default host&rack limit constraints.
The second step that's still missing would be to add like "--default-constraints" as
start parameter to the scheduler. 

AURORA-174 could probably be closed with this?(since the rack limit constraint can be configured
in the .aurora file)

I can't really estimate the effect of my changes in StorageBackfillTest&SchedulerThriftInterfaceTest,
please have a closer look at the changes I did there.

Since this is also my first code submit, comments about codestyle&other bad habbits are
very appreciated.

Diffs (updated)

  src/main/java/org/apache/aurora/scheduler/configuration/ 01b03508afac37b5a8f0ec5c3da1460695e1ef59

  src/test/java/org/apache/aurora/scheduler/configuration/ dc2cb37adf32df0a6e4c7ee2ba776ba9f1f3c2f8



Added test for ConfigurationManager.hasName 
Added test testNoHostAndRackConstraintsAdded, that checks if the constraints are present
Tested on vagrant devcluster to see if constraints are also gone in "real life"


Florian Pfeiffer

  • Unnamed multipart/alternative (inline, None, 0 bytes)
View raw message