Project: mesos
Issue MESOS-2741: Exposing Resources along with ResourceStatistics from resource monitor
Right now, the resource monitor returns a Usage which contains ContainerId, ExecutorInfo and ResourceStatistics. In order for resource estimator/qos controller to calculate usage slack, or tell if a container is using revokable resources or not, we need to expose the Resources that are currently assigned to the container. This requires us the change the containerizer interface to get the Resources as well while calling 'usage()'.
Story points: 5