Re: Handling of aurora update when job/task cannot be scheduled

2014-05-20 Thread Bill Farner
On Tue, May 20, 2014 at 11:41 AM, Jay Buffington wrote: > On Tue, May 20, 2014 at 9:14 AM, Mark Chu-Carroll >wrote: > > > I agree. At the moment, the update process is completely driven by the > > client, which creates some odd usability issues. > > > > > > > If we ran updates primarily on the s

Re: Handling of aurora update when job/task cannot be scheduled

2014-05-20 Thread Jay Buffington
On Tue, May 20, 2014 at 9:14 AM, Mark Chu-Carroll wrote: > I agree. At the moment, the update process is completely driven by the > client, which creates some odd usability issues. > If we ran updates primarily on the server, they could be handled > asynchronously or synchronously in a way con

Re: Handling of aurora update when job/task cannot be scheduled

2014-05-20 Thread Bill Farner
> > and there's no easy way to resume the interrupted operation. It's a bug if the updater doesn't no-op through instances that have already been updated. This should be fast enough to effectively be a resume. -=Bill On Tue, May 20, 2014 at 9:14 AM, Mark Chu-Carroll wrote: > On Tue, May 20,

Re: Handling of aurora update when job/task cannot be scheduled

2014-05-20 Thread Mark Chu-Carroll
On Tue, May 20, 2014 at 12:03 PM, Anindya Sinha wrote: > > > > > > Currently, aurora create is asynchronous whereas aurora update is > > > synchronous which is leading to an inconsistent behavior of how > instances > > > are scheduled in create vs update. > > > > I don't necessarily see the immedia

Re: Handling of aurora update when job/task cannot be scheduled

2014-05-20 Thread Anindya Sinha
> > > > When a aurora create is done and if one or more instances are in PENDING > > state, those instances may never get scheduled for the reasons you > > mentioned in point 1 > > Fair point. However, creating a job with a large number of instances coming > up all at the same time is undesirable d

Re: Handling of aurora update when job/task cannot be scheduled

2014-05-19 Thread Maxim Khutornenko
> > When a aurora create is done and if one or more instances are in PENDING > state, those instances may never get scheduled for the reasons you > mentioned in point 1 Fair point. However, creating a job with a large number of instances coming up all at the same time is undesirable due to reasons

Re: Handling of aurora update when job/task cannot be scheduled

2014-05-18 Thread Anindya Sinha
Hi Thanks for your feedback. Really appreciate it. My responses inline starting with [AS]. Thanks Anindya - The task in PENDING state might never get scheduled due to variety of > reasons, e.g.: unsatisfied constraints, unreasonable resource requirements > and etc. Furthermore, if the task even

Re: Handling of aurora update when job/task cannot be scheduled

2014-05-16 Thread Maxim Khutornenko
Thanks for the proposal, Anindya. I do have some concerns about it though: - The task in PENDING state might never get scheduled due to variety of reasons, e.g.: unsatisfied constraints, unreasonable resource requirements and etc. Furthermore, if the task eventually gets scheduled, it may never re