[ 
https://issues.apache.org/jira/browse/AURORA-582?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=14065494#comment-14065494
 ] 

Bill Farner commented on AURORA-582:
------------------------------------

{quote}
Is there a reason why attributes were being retrieved in a much more difficult 
way than resources?
{quote}

The reason is mostly for uniformity - computing aggregates for diversity 
constraints is the primary reason we need to store attributes at all (to 
associate tasks with the attributes of the hosts they reside on).  For this 
reason, we decided a while ago that all attributes should be fetched from the 
same place, rather than treating the incoming offer differently.  However, this 
approach has also been challenged for performance reasons, in AURORA-137.

> Slave attributes cached incorrectly by scheduler
> ------------------------------------------------
>
>                 Key: AURORA-582
>                 URL: https://issues.apache.org/jira/browse/AURORA-582
>             Project: Aurora
>          Issue Type: Bug
>          Components: Scheduler
>    Affects Versions: 1.0.0
>            Reporter: Kevin Burg
>            Assignee: Bill Farner
>            Priority: Critical
>
> I would like to be able to update the attributes being offered by a mesos 
> slave after the cluster has been setup. The cluster was initialized with two 
> slaves reporting two attributes - 'host' and 'rack'. I was able to assign 
> task with constraints involving these two attributes and everything works. 
> Any third attribute I add shows up in the '/offers' endpoint of the aurora 
> process, but not in the '/slaves' endpoint. Modifications to existing 
> attributes are similarly not reflected. I am not able to schedule tasks 
> involving a constraint on the third attribute or on any modified attributes. 
> The schedule requests just end in vetoes from both slaves unable to resolve 
> the constraints.
> It's been suggested that I delete the slave's 'meta' directory before 
> bouncing the slave, but this has not helped to solve the issue. The only way 
> I have been able to modify the attributes so that aurora can see them is by 
> deleting the entire AURORA_ROOT and rebuilding the cluster.



--
This message was sent by Atlassian JIRA
(v6.2#6252)

Reply via email to