mesos-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Vinod Kone (JIRA)" <j...@apache.org>
Subject [jira] [Updated] (MESOS-2838) In Resources JSON model() resources of the same name overwrite each other.
Date Wed, 22 Jul 2015 17:21:04 GMT

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

Vinod Kone updated MESOS-2838:
------------------------------
    Fix Version/s: 0.23.0

> In Resources JSON model() resources of the same name overwrite each other.
> --------------------------------------------------------------------------
>
>                 Key: MESOS-2838
>                 URL: https://issues.apache.org/jira/browse/MESOS-2838
>             Project: Mesos
>          Issue Type: Bug
>            Reporter: Yan Xu
>            Assignee: Yan Xu
>              Labels: twitter
>             Fix For: 0.23.0
>
>
> As shown here: https://github.com/apache/mesos/blob/8559d7b7356ec91795e564767588c6f4519653a5/src/common/http.cpp#L50
> So if there are two "cpus" of different roles, whichever comes later will overwrite the
previous.
> We should instead aggregate different resources of the same name.
> However, in the presence of revocable resources, in order to maintain backwards compatibility
we should exclude revocable resources.



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)

Mime
View raw message