You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@aurora.apache.org by Mohit Jaggi <mo...@uber.com> on 2018/02/02 00:45:02 UTC
Re: kill task for unknown task id
Any idea folks?
On Tue, Jan 23, 2018 at 1:57 PM, Mohit Jaggi <mo...@uber.com> wrote:
> Folks,
> While changing code to use Mesos's SHUTDOWN call instead of KILL, I see
> that there is a unit test (
>
> - StateManagerImplTest
> <http://classes/org.apache.aurora.scheduler.state.StateManagerImplTest.html>
> . testKillUnknownTask
> <http://classes/org.apache.aurora.scheduler.state.StateManagerImplTest.html#testKillUnknownTask>)
> to check killing of unknown tasks. When does this case happen? Should I
> ignore the call in this case or switch to using a KILL as SHUTDOWN requires
> the agent id which we cannot retrieve for unknown tasks.
>
> Mohit.
>
Re: kill task for unknown task id
Posted by Mohit Jaggi <mo...@uber.com>.
Thanks Meghdoot. Yes reconciliation seems like a possible case.
On Thu, Feb 1, 2018 at 9:39 PM, Meghdoot bhattacharya <me...@yahoo.com>
wrote:
> Is it during implicit reconciliation when mesos master lists a set of
> tasks that aurora does not recognize and hence kills them. Could be because
> of a race between aurora and mesos and crashes involved. Just a guess.
>
> Thx
>
> On Feb 1, 2018, at 4:45 PM, Mohit Jaggi <mo...@uber.com> wrote:
>
> Any idea folks?
>
> On Tue, Jan 23, 2018 at 1:57 PM, Mohit Jaggi <mo...@uber.com> wrote:
>
>> Folks,
>> While changing code to use Mesos's SHUTDOWN call instead of KILL, I see
>> that there is a unit test (
>>
>> - StateManagerImplTest
>> <http://classes/org.apache.aurora.scheduler.state.StateManagerImplTest.html>
>> . testKillUnknownTask
>> <http://classes/org.apache.aurora.scheduler.state.StateManagerImplTest.html#testKillUnknownTask>)
>> to check killing of unknown tasks. When does this case happen? Should I
>> ignore the call in this case or switch to using a KILL as SHUTDOWN requires
>> the agent id which we cannot retrieve for unknown tasks.
>>
>> Mohit.
>>
>
>
Re: kill task for unknown task id
Posted by Mohit Jaggi <mo...@uber.com>.
Thanks Meghdoot. Yes reconciliation seems like a possible case.
On Thu, Feb 1, 2018 at 9:39 PM, Meghdoot bhattacharya <me...@yahoo.com>
wrote:
> Is it during implicit reconciliation when mesos master lists a set of
> tasks that aurora does not recognize and hence kills them. Could be because
> of a race between aurora and mesos and crashes involved. Just a guess.
>
> Thx
>
> On Feb 1, 2018, at 4:45 PM, Mohit Jaggi <mo...@uber.com> wrote:
>
> Any idea folks?
>
> On Tue, Jan 23, 2018 at 1:57 PM, Mohit Jaggi <mo...@uber.com> wrote:
>
>> Folks,
>> While changing code to use Mesos's SHUTDOWN call instead of KILL, I see
>> that there is a unit test (
>>
>> - StateManagerImplTest
>> <http://classes/org.apache.aurora.scheduler.state.StateManagerImplTest.html>
>> . testKillUnknownTask
>> <http://classes/org.apache.aurora.scheduler.state.StateManagerImplTest.html#testKillUnknownTask>)
>> to check killing of unknown tasks. When does this case happen? Should I
>> ignore the call in this case or switch to using a KILL as SHUTDOWN requires
>> the agent id which we cannot retrieve for unknown tasks.
>>
>> Mohit.
>>
>
>
Re: kill task for unknown task id
Posted by Meghdoot bhattacharya <me...@yahoo.com.INVALID>.
Is it during implicit reconciliation when mesos master lists a set of tasks that aurora does not recognize and hence kills them. Could be because of a race between aurora and mesos and crashes involved. Just a guess.
Thx
> On Feb 1, 2018, at 4:45 PM, Mohit Jaggi <mo...@uber.com> wrote:
>
> Any idea folks?
>
>> On Tue, Jan 23, 2018 at 1:57 PM, Mohit Jaggi <mo...@uber.com> wrote:
>> Folks,
>> While changing code to use Mesos's SHUTDOWN call instead of KILL, I see that there is a unit test (
>> StateManagerImplTest. testKillUnknownTask) to check killing of unknown tasks. When does this case happen? Should I ignore the call in this case or switch to using a KILL as SHUTDOWN requires the agent id which we cannot retrieve for unknown tasks.
>> Mohit.
>
Re: kill task for unknown task id
Posted by Meghdoot bhattacharya <me...@yahoo.com>.
Is it during implicit reconciliation when mesos master lists a set of tasks that aurora does not recognize and hence kills them. Could be because of a race between aurora and mesos and crashes involved. Just a guess.
Thx
> On Feb 1, 2018, at 4:45 PM, Mohit Jaggi <mo...@uber.com> wrote:
>
> Any idea folks?
>
>> On Tue, Jan 23, 2018 at 1:57 PM, Mohit Jaggi <mo...@uber.com> wrote:
>> Folks,
>> While changing code to use Mesos's SHUTDOWN call instead of KILL, I see that there is a unit test (
>> StateManagerImplTest. testKillUnknownTask) to check killing of unknown tasks. When does this case happen? Should I ignore the call in this case or switch to using a KILL as SHUTDOWN requires the agent id which we cannot retrieve for unknown tasks.
>> Mohit.
>