mesos-reviews mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Chun-Hung Hsiao <>
Subject Re: Review Request 66457: WIP: Made resource provider API aware of workloads.
Date Wed, 11 Apr 2018 02:38:36 GMT

This is an automatically generated e-mail. To reply, visit:

(Updated April 11, 2018, 2:38 a.m.)

Review request for mesos, Benjamin Bannier, Jie Yu, and Jan Schlicht.


Rename `ApplyResourceUsage` to `UpdateResourceUsage`.

Summary (updated)

WIP: Made resource provider API aware of workloads.

Bugs: MESOS-8760

Repository: mesos

Description (updated)

This patch introduces a breaking change to change `PublishResources` to
`UpdateResourceUsage`, so the resource provider is aware of workloads.
For local resource providers, a workload is a container, and this call
is responsible to prepare the resources for each container. For external
resource providers, a workload is a framework, so this call can bookkeep
the resource usage for each framework and inform the allocator after a

Note that this call is designed to report ALL resources used by every
workload on an agent, so it can handle resources without identifiers.

Diffs (updated)

  include/mesos/resource_provider/resource_provider.proto db7c751bb61fb1ee2421015dcbefc021c3afbdac

  include/mesos/v1/resource_provider/resource_provider.proto 42bc050ed01a272603a41ab052ed75d799dd76e2




This patch cannot be compiled standalone. Tests will be done later in the chain.


Chun-Hung Hsiao

  • Unnamed multipart/alternative (inline, None, 0 bytes)
View raw message