You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@mesos.apache.org by "Niklas Quarfot Nielsen (JIRA)" <ji...@apache.org> on 2015/10/13 02:03:05 UTC

[jira] [Commented] (MESOS-3366) Allow resources/attributes discovery

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

Niklas Quarfot Nielsen commented on MESOS-3366:
-----------------------------------------------

Commit for resource decorator:

commit 82c2a78667bd4694b0de1be449cffd32ab0156b2
Author: Felix Abecassis <fa...@nvidia.com>
Date:   Fri Oct 9 16:45:36 2015 -0700

    Added a new callback enabling custom resource discovery logic.
    
    Review: https://reviews.apache.org/r/38279

Will close ticket after attribute decorator lands

> Allow resources/attributes discovery
> ------------------------------------
>
>                 Key: MESOS-3366
>                 URL: https://issues.apache.org/jira/browse/MESOS-3366
>             Project: Mesos
>          Issue Type: Improvement
>          Components: slave
>            Reporter: Felix Abecassis
>
> In heterogeneous clusters, tasks sometimes have strong constraints on the type of hardware they need to execute on. The current solution is to use custom resources and attributes on the agents. Detecting non-standard resources/attributes requires wrapping the "mesos-slave" binary behind a script and use custom code to probe the agent. Unfortunately, this approach doesn't allow composition. The solution would be to provide a hook/module mechanism to allow users to use custom code performing resources/attributes discovery.
> Please review the detailed document below:
> https://docs.google.com/document/d/15OkebDezFxzeyLsyQoU0upB0eoVECAlzEkeg0HQAX9w
> Feel free to express comments/concerns by annotating the document or by replying to this issue.



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