You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@mesos.apache.org by "Yan Xu (JIRA)" <ji...@apache.org> on 2015/06/10 23:41:00 UTC

[jira] [Updated] (MESOS-2854) Resources::parse(...) allows different resources of the same name to have different types.

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

Yan Xu updated MESOS-2854:
--------------------------
    Labels: twitter  (was: )

> Resources::parse(...) allows different resources of the same name to have different types.
> ------------------------------------------------------------------------------------------
>
>                 Key: MESOS-2854
>                 URL: https://issues.apache.org/jira/browse/MESOS-2854
>             Project: Mesos
>          Issue Type: Bug
>            Reporter: Yan Xu
>            Assignee: Yan Xu
>              Labels: twitter
>
> So code like this doesn't raise Error.
> {code}
> Resources::parse("foo(role1):1;foo(role2):[0-1]")
> {code}
> Doesn't look like allowing this adds value and this complicates resource maths/validation/reporting.
> We should disallow this.



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