When my Framework has connected to the master, I do not seem to get the
Scheduler.disconnected() callback when I kill the Master. Is this expected
behavior or should my Framework get a disconnected() callback if I kill the
master?

Thanks,
Sam Taha

http://www.grandlogic.com


On Wed, Oct 9, 2013 at 1:38 PM, Vinod Kone <[email protected]> wrote:

> You should get a disconnected() callback when the master is disconnected.
>
>
> On Wed, Oct 9, 2013 at 10:28 AM, Sam Taha <[email protected]> wrote:
>
>> From java Framework, is their a way to to just ping the master to see if
>> my Scheduler/Driver is properly connected to mesos? None of the methods in
>> the SchedulerDriver look appropriate for just a simple round trip check if
>> the Framework is connected.
>>
>> I need to do this in cases where I have declined ALL offers for a period
>> of time, so I am not getting anything back from mesos during this time, but
>> I still need to give the user feedback if the Framework is actually
>> connected or not.
>>
>> Relying on Scheduler.registered() does not give current connection
>> status, since I may have connected hours ago and I may have declined
>> offers, but I still need to check if my Framework is connected.
>>
>> Thanks,
>> Sam Taha
>>
>> http://www.grandlogic.com
>>
>>
>>
>

Reply via email to