You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@mesos.apache.org by "Benjamin Mahler (JIRA)" <ji...@apache.org> on 2012/08/29 03:28:08 UTC

[jira] [Updated] (MESOS-259) Expose slave attributes in slave endpoint & sortable tables

     [ https://issues.apache.org/jira/browse/MESOS-259?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Benjamin Mahler updated MESOS-259:
----------------------------------

    Summary: Expose slave attributes in slave endpoint & sortable tables  (was: Expose slave attributes in slave endpoint)
    
> Expose slave attributes in slave endpoint & sortable tables
> -----------------------------------------------------------
>
>                 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
For more information on JIRA, see: http://www.atlassian.com/software/jira