A-ha.

This means that there is no resources reservation for an executor,
resources are totally dedicated to tasks, correct?


On 22 November 2017 at 22:20, Vinod Kone <[email protected]> wrote:

> If you have an executor running on a agent, wait for an offer from *that
> agent* and launch a new task with the *same* ExecutorInfo as the one you
> originally used to launch the executor. In this case, mesos will not launch
> a new executor but passes the task to the already running executor. Note
> that, if for some reason your original executor died just as you were
> launching the new task, mesos will launch a new instance of that executor
> and pass the new task. So your executor needs to handle this race.
>
> On Wed, Nov 22, 2017 at 10:45 AM, Alex Kotelnikov <
> [email protected]> wrote:
>
>> Vihod,
>>
>> much more clear. Thanks.
>>
>> I refined first question inline.
>>
>> On 22 November 2017 at 21:15, Vinod Kone <[email protected]> wrote:
>>
>>> Hi Alex,
>>>
>>> See my answers below
>>>
>>> 1. Launch a task without accepting an offer (on already existing
>>>> executor).
>>>>
>>>
>>> This is not currently possible. Every task needs some non-zero
>>> resources, and hence an offer, to be launched. What's your use case?
>>>
>>
>> Basically if I have an executor running, how to launch a task on it?
>>
>>
>> --
>>
>> Best Regards,
>>
>>
>> *Alexander Kotelnikov*
>>
>> *Team Lead*
>>
>> DIGINETICA
>> Retail Technology Company
>>
>> m: +7.921.915.06.28 <+7%20921%20915-06-28>
>>
>> *www.diginetica.com <http://www.diginetica.com/>*
>>
>
>


-- 

Best Regards,


*Alexander Kotelnikov*

*Team Lead*

DIGINETICA
Retail Technology Company

m: +7.921.915.06.28

*www.diginetica.com <http://www.diginetica.com/>*

Reply via email to