You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@mesos.apache.org by "Artem Harutyunyan (JIRA)" <ji...@apache.org> on 2015/11/11 14:24:11 UTC

[jira] [Created] (MESOS-3891) Add a helper function to the Agent to check available resources before launching a task.

Artem Harutyunyan created MESOS-3891:
----------------------------------------

             Summary: Add a helper function to the Agent to check available resources before launching a task. 
                 Key: MESOS-3891
                 URL: https://issues.apache.org/jira/browse/MESOS-3891
             Project: Mesos
          Issue Type: Bug
            Reporter: Artem Harutyunyan
            Assignee: Artem Harutyunyan


{noformat}
class Slave {
  ...
  // Checks if the given resources are available (i.e. not utilized)
  // for starting a task.  If not, the task should either fail to
  // start or result in the eviction of revocable resources.
  virtual process::Future<bool> checkAvailableResources(
      const Resources& resources);
  ...
}
{noformat}



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)