mesos-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Yan Xu (JIRA)" <j...@apache.org>
Subject [jira] [Commented] (MESOS-6406) Send latest status for partition-aware tasks when agent reregisters
Date Wed, 29 Nov 2017 23:29:00 GMT

    [ https://issues.apache.org/jira/browse/MESOS-6406?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16271772#comment-16271772
] 

Yan Xu commented on MESOS-6406:
-------------------------------

So I think we can probably improve on the approach stated in the JIRA: when the master fails
over and for agents that haven't been unreachable, perhaps we don't need to send status updates
for these tasks? 

For unreachable agents we have informed the frameworks about these tasks via {{TASK_UNREACHABLE}}
so upon reregistration we need to inform frameworks that these tasks are back.

For other agents, if the state of a task has changed during master failover, the agent is
going to send new status updates with retries so we don't need to worry about the schedulers
not getting updates; if the state hasn't changed, the scheduler is already aware of the latest
state of the task so the master doesn't need to send me either.

/cc [~megha.sharma] [~ipronin] [~vinodkone]

> Send latest status for partition-aware tasks when agent reregisters
> -------------------------------------------------------------------
>
>                 Key: MESOS-6406
>                 URL: https://issues.apache.org/jira/browse/MESOS-6406
>             Project: Mesos
>          Issue Type: Bug
>            Reporter: Neil Conway
>            Assignee: Megha Sharma
>              Labels: mesosphere
>
> When an agent reregisters, we should notify frameworks about the current status of any
partition-aware tasks that were/are running on the agent -- i.e., report the current state
of the task at the agent to the framework.



--
This message was sent by Atlassian JIRA
(v6.4.14#64029)

Mime
View raw message