Re: Get Task's labels on reconciliation

2016-09-01 Thread Altan Alpay
Hi, I got bitten by the same issue. I was setting task labels but unable to retrieve them back through reconciliation. If a framework can’t read the labels back, what’s the reason labeling tasks at first place? Is there any other mechanism to read task labels that I am missing? Preferable

Re: Get Task's labels on reconciliation

2016-01-29 Thread Benjamin Mahler
I see that the following was filed: https://issues.apache.org/jira/browse/MESOS-4477 But this sounds like a bug: if the master knows about the task during reconciliation, labels should be sent. For example we had this same bug for health information:

Re: Get Task's labels on reconciliation

2016-01-22 Thread Andrii Biletskyi
Neil, thanks for the link! Regarding task labels - maybe I'm doing something wrong because I can't see task labels/ taskData received upon task reconciliation. Here's what I'm doing: 1. Start scheduler 2. Scheduler asks to launch some task (taskId=t1) 3. Executor successfully launches task,

Re: Get Task's labels on reconciliation

2016-01-22 Thread Neil Conway
Hi Andrii, TaskStatus includes the task's labels [1], so what you're trying to do should work. BTW, we recently wrote up some suggestions on how to write highly available frameworks. The docs will be on the website the next time it is refreshed; in the mean time, you can find them here:

Re: Get Task's labels on reconciliation

2016-01-22 Thread Andrii Biletskyi
Okay, thanks for your answer. I will rework my algorithm so it doesn't rely on task labels/data. Thanks, Andrii On Fri, Jan 22, 2016 at 11:49 PM, Vinod Kone wrote: > > On Fri, Jan 22, 2016 at 1:07 PM, Andrii Biletskyi < > andrii.bilets...@stealth.ly> wrote: > >> 8.