-----------------------------------------------------------
This is an automatically generated e-mail. To reply, visit:
https://reviews.apache.org/r/31525/
-----------------------------------------------------------

(Updated March 9, 2015, 9:59 p.m.)


Review request for Aurora, Kevin Sweeney and Bill Farner.


Changes
-------

Rebased.


Bugs: AURORA-1159
    https://issues.apache.org/jira/browse/AURORA-1159


Repository: aurora


Description
-------

Instead of relying on a fixed MAX_SCORE, vetoes are now graded by their 
relative weight (severity) with a dedicated constraint mismatch ranked higest 
and an insufficient resource mismatch - lowest. Together with "break early" 
rule in SchedulingFilter, this ensures "heavier" vetoes are given proper 
attention in the NearestFit. This simplifies `NearestFit` logic while also 
improving pending reason reporting accuracy and scheduling performance.


Diffs (updated)
-----

  src/main/java/org/apache/aurora/scheduler/filter/SchedulingFilter.java 
3313bd2f9ed5a88375d88715dea5da1e9ad8b963 
  src/main/java/org/apache/aurora/scheduler/filter/SchedulingFilterImpl.java 
a020ce50d578fba7f32b370f448a49eb1c284147 
  src/main/java/org/apache/aurora/scheduler/metadata/NearestFit.java 
785b5742301eec6930a431585256fefce7ec776d 
  
src/test/java/org/apache/aurora/scheduler/filter/SchedulingFilterImplTest.java 
b00668423a53a8cf6f4da3456bce3354f1fd2424 
  src/test/java/org/apache/aurora/scheduler/metadata/NearestFitTest.java 
e0f9d8b4c3d80b70faa10612b82a034e3dae9112 

Diff: https://reviews.apache.org/r/31525/diff/


Testing
-------

./gradlew -Pq build


Thanks,

Maxim Khutornenko

Reply via email to