[ https://issues.apache.org/jira/browse/MESOS-7252?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Michael Park updated MESOS-7252: -------------------------------- Description: The multi-role changes in Mesos changed the implementation of `Resources::contains`. This results in the search for a given resource to be performed only for unallocated resources. For allocated resources the search is actually performed only for a given role. Due to this change the resource check in both the long-lived framework are failing leading to these frameworks not launching any tasks. The fix would be to unallocate all resources in a given offer and than do the `contains` check. was: The multi-role changes in Mesos changed the implementation of `Resources::contains`. This results in the search for a given resource to be performed only for unallocated resources. For allocated resources the search is actually performed only for a given role. Due to this change the resource check in both the long-lived framework and the inverse-offer framework are both failing leading to these frameworks not launching any tasks. The fix would be to unallocate all resources in a given offer and than do the `contains` check. > Need to fix resource check in long-lived framework > -------------------------------------------------- > > Key: MESOS-7252 > URL: https://issues.apache.org/jira/browse/MESOS-7252 > Project: Mesos > Issue Type: Bug > Components: framework > Reporter: Avinash Sridharan > Assignee: Michael Park > Labels: Mesosphere > > The multi-role changes in Mesos changed the implementation of > `Resources::contains`. > This results in the search for a given resource to be performed only for > unallocated resources. > For allocated resources the search is actually performed only for a given > role. > Due to this change the resource check in both the long-lived framework are > failing leading to these frameworks not launching any tasks. > The fix would be to unallocate all resources in a given offer and than do the > `contains` check. -- This message was sent by Atlassian JIRA (v6.4.14#64029)