[ 
https://issues.apache.org/jira/browse/MESOS-7252?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Avinash Sridharan updated MESOS-7252:
-------------------------------------
         Sprint: Mesosphere Sprint 53
         Labels: Mesosphere  (was: )
    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 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 and inverse-offer framework
> ------------------------------------------------------------------------------
>
>                 Key: MESOS-7252
>                 URL: https://issues.apache.org/jira/browse/MESOS-7252
>             Project: Mesos
>          Issue Type: Bug
>          Components: framework
>            Reporter: Avinash Sridharan
>              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 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.



--
This message was sent by Atlassian JIRA
(v6.3.15#6346)

Reply via email to