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

Greg Mann commented on MESOS-7871:
----------------------------------

Test and comment updates:
https://reviews.apache.org/r/61534/
https://reviews.apache.org/r/61535/

> Agent fails assertion during request to '/state'
> ------------------------------------------------
>
>                 Key: MESOS-7871
>                 URL: https://issues.apache.org/jira/browse/MESOS-7871
>             Project: Mesos
>          Issue Type: Bug
>          Components: agent
>            Reporter: Greg Mann
>            Assignee: Andrei Budnik
>              Labels: mesosphere
>
> While processing requests to {{/state}}, the Mesos agent calls 
> {{Framework::allocatedResources()}}, which in turn calls 
> {{Slave::getExecutorInfo()}} on executors associated with the framework's 
> pending tasks.
> In the case of tasks launched as part of task groups, this leads to the 
> failure of the assertion 
> [here|https://github.com/apache/mesos/blob/a31dd52ab71d2a529b55cd9111ec54acf7550ded/src/slave/slave.cpp#L4983-L4985].
>  This means that the check will fail if the agent processes a request to 
> {{/state}} at a time when it has pending tasks launched as part of a task 
> group.
> This assertion should be removed since this helper function is now used with 
> task groups.



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

Reply via email to