mesos-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Yan Xu (JIRA)" <j...@apache.org>
Subject [jira] [Updated] (MESOS-2854) Resources::parse(...) allows different resources of the same name to have different types.
Date Wed, 10 Jun 2015 21:41:00 GMT

     [ 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)

Mime
View raw message