mesos-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Benjamin Mahler (JIRA)" <j...@apache.org>
Subject [jira] [Commented] (MESOS-259) Expose slave attributes in slave endpoint
Date Fri, 24 Aug 2012 00:06:42 GMT

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

Benjamin Mahler commented on MESOS-259:
---------------------------------------

https://reviews.apache.org/r/6739
                
> Expose slave attributes in slave endpoint
> -----------------------------------------
>
>                 Key: MESOS-259
>                 URL: https://issues.apache.org/jira/browse/MESOS-259
>             Project: Mesos
>          Issue Type: Improvement
>          Components: slave, webui
>            Reporter: Benjamin Mahler
>            Assignee: Benjamin Mahler
>
> Exposing that will make it easier to check and manage a cluster of machines.
> It might make sense to export all of the resources on the command line,
> as well as all of the attributes. We currently get something like:
>    "resources": {
>         "cpus": 8, 
>         "mem": 4096
>     }, 
> Even though on the command line we have:
> sbin/mesos-slave --port=5051 --resources=cpus:8;mem:4096;ports:[31000-32000];disk:400000
--attributes=rack:r1;host:dc-r1-somehost;dedicated:foo --master=file:///usr/local/mesos/conf/zk.config
--log_dir=/var/log/mesos --work_dir=/var/tmp/mesos
> I'd love to see this (and if there are other things "defaulted") to something like:
>     "resources": {
>         "cpus": 8, 
>         "mem": 4096,
>         "disk": 400000,
>         "ports": "[31000-32000]"
>     }, 
>     "attributes": {
>         "rack": "r1",
>         "host": "dc-r1-somehost",
>         "dedicated": "foo"
>     }

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators: https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira

        

Mime
View raw message