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

The C++ 'Resources' abstraction should keep the underlying resources flattened.

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Resolved
    • Major
    • Resolution: Fixed
    • None
    • None
    • c++ api
    • None

    Description

      Currently, the C++ Resources class does not ensure that the underlying Resources protobufs are kept flat.

      This is an issue because some of the methods, e.g. Resources::get, assume the resources are flat.

      There is code that constructs unflattened resources, e.g. Slave::launchExecutor. We could prevent this type of construction, however it is perfectly fine if we ensure the C++ 'Resources' class performs flattening.

      Attachments

        Activity

          People

            Unassigned Unassigned
            bmahler Benjamin Mahler
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: