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

In Resources JSON model() resources of the same name overwrite each other.

    XMLWordPrintableJSON

    Details

    • Type: Bug
    • Status: Resolved
    • Priority: Major
    • Resolution: Fixed
    • Affects Version/s: None
    • Fix Version/s: 0.23.0
    • Component/s: None
    • Labels:
    • Sprint:
      Twitter Mesos Q2 Sprint 5
    • Story Points:
      2

      Description

      As shown here: https://github.com/apache/mesos/blob/8559d7b7356ec91795e564767588c6f4519653a5/src/common/http.cpp#L50

      So if there are two "cpus" of different roles, whichever comes later will overwrite the previous.

      We should instead aggregate different resources of the same name.

      However, in the presence of revocable resources, in order to maintain backwards compatibility we should exclude revocable resources.

        Attachments

          Issue Links

            Activity

              People

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

                Dates

                • Created:
                  Updated:
                  Resolved: