You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@mesos.apache.org by "Adam B (JIRA)" <ji...@apache.org> on 2017/04/06 06:37:41 UTC
[jira] [Commented] (MESOS-7252) Need to fix resource check in
long-lived framework and inverse-offer framework
[ https://issues.apache.org/jira/browse/MESOS-7252?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=15958379#comment-15958379 ]
Adam B commented on MESOS-7252:
-------------------------------
Removing from the sprint and unassigning. [~karya], did you have somebody else in mind to take this on?
> 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)