You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@mesos.apache.org by "Yan Xu (JIRA)" <ji...@apache.org> on 2016/05/04 00:37:12 UTC

[jira] [Created] (MESOS-5324) Framework::addFramework takes a 'used' map that's always empty.

Yan Xu created MESOS-5324:
-----------------------------

             Summary: Framework::addFramework takes a 'used' map that's always empty.
                 Key: MESOS-5324
                 URL: https://issues.apache.org/jira/browse/MESOS-5324
             Project: Mesos
          Issue Type: Bug
          Components: allocation
            Reporter: Yan Xu


{code}
  virtual void addFramework(
      const FrameworkID& frameworkId,
      const FrameworkInfo& frameworkInfo,
      const hashmap<SlaveID, Resources>& used) = 0;
{code}

The last argument is always empty in our codebase and I wonder if this is for future-proofing? I can't think of a reason this is, would we ever take the info from the framework?

/cc [~alexr]



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