[
https://issues.apache.org/jira/browse/MESOS-1221?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13974405#comment-13974405
]
Vinod Kone commented on MESOS-1221:
-----------------------------------
Looks like the bug is in the mesos containerizer. The slave does call
"containerizer->update()" after an executor re-registers but mesos
containerizer rejects it because it can't find the container in its 'resources'
map.
Fix: The resources map should be updated during recovery.
> Slave should update the containerizers with executor resources after recovery
> -----------------------------------------------------------------------------
>
> Key: MESOS-1221
> URL: https://issues.apache.org/jira/browse/MESOS-1221
> Project: Mesos
> Issue Type: Bug
> Affects Versions: 0.18.0
> Reporter: Ian Downes
> Fix For: 0.18.1
>
>
> Executor resources are not included during recovery so containerizers don't
> know resource (cpu and memory) limits and won't include these in the resource
> statistics unless the resources are updated.
> See comment on 719 in mesos_containerizer.cpp.
> We should change the slave so it always 'updates' with the current resources.
--
This message was sent by Atlassian JIRA
(v6.2#6252)