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

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

Attach filesAttach ScreenshotVotersWatch issueWatchersLinkCloneUpdate Comment AuthorReplace String in CommentUpdate Comment VisibilityDelete Comments
    XMLWordPrintableJSON

    Details

    • Type: Bug
    • Status: Resolved
    • Priority: Major
    • Resolution: Fixed
    • Affects Version/s: None
    • Fix Version/s: None
    • Component/s: c++ api
    • Labels:
      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

            • Assignee:
              Unassigned
              Reporter:
              bmahler Benjamin Mahler

              Dates

              • Created:
                Updated:
                Resolved:

                Issue deployment