Uploaded image for project: 'Mesos'
  1. Mesos
  2. MESOS-2854

Resources::parse(...) allows different resources of the same name to have different types.

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Resolved
    • Major
    • Resolution: Fixed
    • None
    • None
    • None
    • Twitter Mesos Q2 Sprint 5
    • 2

    Description

      So code like this doesn't raise Error.

      Resources::parse("foo(role1):1;foo(role2):[0-1]")
      

      Doesn't look like allowing this adds value and this complicates resource maths/validation/reporting.

      We should disallow this.

      Attachments

        Issue Links

          Activity

            People

              xujyan Yan Xu
              xujyan Yan Xu
              Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: