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:40:00 UTC

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

Yan Xu created MESOS-2854:
-----------------------------

             Summary: 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


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)