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/11 00:36:01 UTC

[jira] [Commented] (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:comment-tabpanel&focusedCommentId=14581168#comment-14581168 ] 

Yan Xu commented on MESOS-2854:
-------------------------------

https://reviews.apache.org/r/35327/

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