You can ignore that warning message. It was logged by mistake due to a
regression. It's fixed on HEAD and will be included in 0.20.0.

commit dd94a1fe9aff281f49d61bd8c214f41fcb340b04

Author: Vinod Kone <[email protected]>

Date:   Thu May 29 15:32:03 2014 -0700


    Fixed a bug in scheduler driver to properly erase 'savedOffers'.



    Review: https://reviews.apache.org/r/22148


On Mon, Jul 14, 2014 at 1:53 PM, Whitney Sorenson <[email protected]>
wrote:

> Any reason for the warning messages that always appear as a result?
>
>
> On Mon, Jul 14, 2014 at 1:11 PM, Vinod Kone <[email protected]> wrote:
>
>> Yes. You can definitely launch multiple tasks within the same offer
>> (launchTasks() takes multiple TaskInfos) as long as the sum total of
>> resources required by the tasks (and their executors) can fit in the
>> offered resources. In fact, if you are hoarding offers (not recommended if
>> you are running multiple frameworks), you could use multiple offers in
>> launchTasks() as long as the offers belong to the same slave.
>>
>>
>> On Mon, Jul 14, 2014 at 8:53 AM, Whitney Sorenson <[email protected]>
>> wrote:
>>
>>> During some recent testing, I found it could take quite a few offer
>>> cycles in order to launch a high number of small tasks.
>>>
>>> Unfortunately, my reading of the framework + driver API didn't yield a
>>> definitive answer.
>>>
>>> So, I wrote the code to calculate the remaining resources in an offer,
>>> and tried it and it seems to work (the tasks launch and run on slave);
>>> however, I do see warning messages:
>>>
>>> W0714 16:45:40.227408 400543744 sched.cpp:901] Attempting to launch task
>>> test-sleep-101-1405352740168-2-localhost-DEFAULT with an unknown offer
>>> 20140714-163828-16777343-5050-53164-67
>>>
>>> -Whitney
>>>
>>>
>>
>

Reply via email to