Are these updates generated by the executor? Note that updates *generated*
by slave or master will have a different source. Are you not seeing any
source at all in the updates?

On Sun, Mar 15, 2015 at 6:59 PM, James DeFelice <james.defel...@gmail.com>
wrote:

> Thanks, I found the same. For some reason I'm not seeing a Source set in
> the updates that the scheduler is receiving. The updates are being
> generated via the mesos-go bindings. The bindings shouldn't matter since
> the slave is supposed to fill in the blank. Not sure what's going on, needs
> more investigation. FWIW I'm observing this on 0.21.0.
>
> On Sun, Mar 15, 2015 at 9:55 PM, Vinod Kone <vinodk...@apache.org> wrote:
>
> > It is enforced by the slave to be future proof (a future where there will
> > be no executor driver).
> >
> > https://github.com/apache/mesos/blob/master/src/slave/slave.cpp#L2491
> >
> > On Sun, Mar 15, 2015 at 11:45 AM, James DeFelice <
> james.defel...@gmail.com
> > >
> > wrote:
> >
> > > Is there a reason that the native executor driver bindings don't check
> > > for/enforce a TaskStatus.Source of SOURCE_EXECUTOR?
> > >
> > > https://github.com/apache/mesos/blob/master/src/exec/exec.cpp#L490
> > >
> > > Or is that supposed to be handled somewhere else?
> > >
> > > -James
> > >
> >
>
>
>
> --
> James DeFelice
> 585.241.9488 (voice)
> 650.649.6071 (fax)
>

Reply via email to