On Tue, Feb 03, 2015 at 05:52:48PM -0800, Adam Bordelon wrote:
> Also note that any unused resources from an offer passed to LaunchTasks will 
> be
> automatically declined (and potentially reoffered with a new offerId).
> Thus, you cannot do "LaunchTasks(task1, offer1); LaunchTasks(task2, offer1);"
> since the remainder of offer1 will have been declined and any future
> LaunchTasks calls with it will be rejected.

Yes, thanks, we didn't do that, we launch multiple tasks for an offer with a
single launchTasks() call.

--
Thanks,
Chengwei

> 
> On Tue, Feb 3, 2015 at 5:21 PM, Vinod Kone <[email protected]> wrote:
> 
>     On Tue, Feb 3, 2015 at 5:46 AM, Chengwei Yang <[email protected]>
>     wrote:
> 
>     > As we can see, mesos-master send offer to chronos at 18:32:33, but
>     > received all
>     > 4 decline message (LaunchTasksMessage) at 18:33.03, we are very curious
>     > why the
>     > first decline doesn't sent before sleep 30 seconds?
>     >
> 
>     Just to be sure, if you sleep inside the callback any driver calls you 
> make
>     (launch/decline) will not be sent to the master until you return from the
>     callback.
> 
> 

Attachment: signature.asc
Description: Digital signature

Reply via email to