[ https://issues.apache.org/jira/browse/MESOS-9961?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16941721#comment-16941721 ]
Benjamin Bannier commented on MESOS-9961: ----------------------------------------- It is unclear to me what the intended outcome for this ticket is. How would we use information on these completed executors, e.g., in {{GET_EXECUTOR}} calls? While we do provide information on completed frameworks (and their executors), the way they are used is very different from how we work on information on not yet completed frameworks (e.g., the master currently wouldn't be able to distinguish completed and not executed executors internally or on the API level). I would suggest we scope this ticket better with a laundry list of outcomes this work should accomplish and ideally proposals on how this would affect APIs (e.g., {{ReregisterSlaveMessage}}, {{agent::GetExecutors}}, {{master::GetExecutors}}). We can then break down the work into smaller pieces. My initial assessment of 2 story points is way too low to capture this. [~greggomann], let's go back to the drawing board on this one. > Agent could fail to report completed tasks. > ------------------------------------------- > > Key: MESOS-9961 > URL: https://issues.apache.org/jira/browse/MESOS-9961 > Project: Mesos > Issue Type: Bug > Components: agent > Reporter: Meng Zhu > Assignee: Benjamin Bannier > Priority: Major > Labels: foundations > > When agent reregisters with a master, we don't report completed executors for > active frameworks. We only report completed executors if the framework is > also completed on the agent: > https://github.com/apache/mesos/blob/1.7.x/src/slave/slave.cpp#L1785-L1832 -- This message was sent by Atlassian Jira (v8.3.4#803005)