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

Update the `usage()` method of containerizer to set resource limits in the `ResourceStatistics` protobuf message

    XMLWordPrintableJSON

Details

    • Task
    • Status: Resolved
    • Major
    • Resolution: Fixed
    • None
    • 1.10.0
    • containerization
    • None

    Description

      In the `ResourceStatistics` protobuf message, there are a couple of issues:

      1. There are already `cpu_limit` and `mem_limit_bytes` fields, but they are actually CPU & memory requests when resources limits are specified for a task.
      2. There is already `mem_soft_limit_bytes` field, but this field seems not set anywhere.

      So we need to update this protobuf message and also the related containerizer code which set the fields of this protobuf message.

      Attachments

        Activity

          People

            qianzhang Qian Zhang
            qianzhang Qian Zhang
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: