It looks quite weird to me... could you share more details about your
scheduler implementation? A code snippet could help a lot. Also, if
you want more interactive and prompt communication, please join our
slack chat https://mesos-slackin.herokuapp.com/

/J

On Thu, Mar 9, 2017 at 5:20 PM, Oeg Bizz <oegb...@yahoo.com> wrote:
> Qian,
>    Added the offer_timeout flag and set it to 2 seconds and the result is
> the same.  I do not get any offerRescinded() call or anything like that.
>
> To fix the receiving offers I used the driver.acceptOffers instead of
> driver.launchTasks()  Looking around the source code I found a TestFramework
> source code within Mesos and there is a comment about the launchTask to be
> deprecated and the use of acceptOffers was preffered so I changed it to
> that.
>
> Thanks,
>
> Oscar
>
>
> On Wednesday, March 8, 2017 8:49 PM, Qian Zhang <zhq527...@gmail.com> wrote:
>
>
> It seems the offer has already been removed from Mesos master when you tried
> to use it to launch a subsequent task, I think you did not specify
> "--offer-timeout" flag when starting Mesos master, right? Did your framework
> receive "RESCIND" event from Mesos master for the offer that you want to use
> to launch task?
>
> BTW, how did you resolve the stopping receiving offers issue?
>
>
> Thanks,
> Qian Zhang
>
> On Wed, Mar 8, 2017 at 7:57 PM, Oeg Bizz <oegb...@yahoo.com> wrote:
>
> Sorry about the continuous rant, but I really would love to get this solved.
> I passed the stopping receiving offers, but now the second time I send the
> same request I get an error message stating that the offer is no longer
> valid even though I sent just one task to the only slave I have running.  Ii
> am running Mesos 1.1.0 and here are the log files from my last run
>
> Thanks in advance for all your help.  BTW, is there a better way of
> submitting questions like a chat, threads, bulletin board?
>
> Oscar
>
>
> On Wednesday, March 8, 2017 6:31 AM, Oeg Bizz <oegb...@yahoo.com> wrote:
>
>
> Vinod,
>    I think the previous set is incomplete.  I have attached a more compete
> set of files.  Thanks for the help
>
>
> On Tuesday, March 7, 2017 12:34 PM, Vinod Kone <vinodk...@gmail.com> wrote:
>
>
> Can you share master log?
>
> @vinodkone
>
> On Mar 7, 2017, at 2:54 AM, Oeg Bizz <oegb...@yahoo.com> wrote:
>
> Hi,
>    I am new at mesos and started exploring its usability for a new project I
> will be involved.  I wrote an scheduler and an executor and I am able to
> send one task which is executed properly.  After the first task is finished
> I no longer get resourceOffer() invocations to my Scheduler.  What am I
> missing?  If I do not send a task I can the resourceOffer calls consistently
> every 5 seconds or so.  Also, does Mesos send all of the resources every
> time or just a partial list?  Thanks in advance for any help,
>
> Oscar
>
>
>
>
>
>
>
>

Reply via email to