Bill Farner created AURORA-913:
----------------------------------

             Summary: Replace MaintenanceMode field with HostAttributes in 
HostOffer
                 Key: AURORA-913
                 URL: https://issues.apache.org/jira/browse/AURORA-913
             Project: Aurora
          Issue Type: Story
          Components: Scheduler
            Reporter: Bill Farner


Address this TODO:
{noformat}
  /**
   * Encapsulate an offer from a host, and the host's maintenance mode.
   */
  class HostOffer {
    private final Offer offer;

    // TODO(wfarner): Replace this with HostAttributes for more use of this 
caching.
    private final MaintenanceMode mode;
{noformat}

Success here will mean avoiding O(n) (n=num offers) fetching of host attributes 
associated with offers when scheduling a task.



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

Reply via email to