> On Dec. 12, 2013, 5:35 p.m., Bill Farner wrote:
> > src/main/java/com/twitter/aurora/scheduler/async/AsyncModule.java, line 193
> > <https://reviews.apache.org/r/16232/diff/1/?file=397098#file397098line193>
> >
> >     I'm 99% this works fine because you've exposed the key you're binding 
> > against (i suspect that's _why_ you exposed it), but can you confirm that a 
> > test fails if this is not wired properly?
> 
> Zameer Manji wrote:
>     I ran into some problems doing this, lets talk offline. The current diff 
> now fails SchedulerIT.testLaunch

Still failing on this diff, FYI.


> On Dec. 12, 2013, 5:35 p.m., Bill Farner wrote:
> > src/main/java/com/twitter/aurora/scheduler/async/TaskGroups.java, line 182
> > <https://reviews.apache.org/r/16232/diff/1/?file=397100#file397100line182>
> >
> >     Realizing this may have been dropped in the internal review:
> >     
> >     Thinking even further on this, perhaps the tryPreempt() behavior should 
> > be implicit to schedule(), and the schedule() outcome becomes an enum 
> > SUCCESS, TRY_LATER?
> 
> Zameer Manji wrote:
>     I would like to discuss this offline before I do it.

done.


- Zameer


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


On Dec. 13, 2013, 5:49 p.m., Zameer Manji wrote:
> 
> -----------------------------------------------------------
> This is an automatically generated e-mail. To reply, visit:
> https://reviews.apache.org/r/16232/
> -----------------------------------------------------------
> 
> (Updated Dec. 13, 2013, 5:49 p.m.)
> 
> 
> Review request for Aurora, Kevin Sweeney, Maxim Khutornenko, and Bill Farner.
> 
> 
> Bugs: AURORA-11
>     https://issues.apache.org/jira/browse/AURORA-11
> 
> 
> Repository: aurora
> 
> 
> Description
> -------
> 
> This patch adds a reservation system the preemption flow.
> 
> The reservation associates a slave id with a task id for a fixed duration. If 
> the task attempts to schedule itself during that time period and an offer is 
> available from that slave then it will be scheduled. If another task attempts 
> to schedule itself then it will not use the reserved offer.
> 
> 
> Diffs
> -----
> 
>   src/main/java/com/twitter/aurora/scheduler/async/AsyncModule.java 
> db07841543e554e269f6fe7b36d7f7232af21140 
>   src/main/java/com/twitter/aurora/scheduler/async/Preemptor.java 
> e5aeb8321e22c51eb3a5dad3d3dd1e26b7121b7d 
>   src/main/java/com/twitter/aurora/scheduler/async/TaskGroups.java 
> f95f719c5a444b0f8faa4330852e251dd5de528e 
>   src/main/java/com/twitter/aurora/scheduler/async/TaskScheduler.java 
> fbd82ff70235294cfd27c242f141a585d6bb2396 
>   src/test/java/com/twitter/aurora/scheduler/async/TaskSchedulerImplTest.java 
> PRE-CREATION 
>   src/test/java/com/twitter/aurora/scheduler/async/TaskSchedulerTest.java 
> a747f2b1ecbad7263931aeec3b12711096d2469d 
>   src/test/java/com/twitter/aurora/scheduler/state/PubsubTestUtil.java 
> f9d7fb64728008d0ea6eb424283b58e956e1d50a 
> 
> Diff: https://reviews.apache.org/r/16232/diff/
> 
> 
> Testing
> -------
> 
> ./gradlew clean build
> 
> 
> Thanks,
> 
> Zameer Manji
> 
>

Reply via email to