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/22 19:19:41 UTC

[jira] [Created] (MESOS-259) Expose slave attributes in slave endpoint

Benjamin Mahler created MESOS-259:
-------------------------------------

             Summary: 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

        

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

Posted by "Benjamin Mahler (JIRA)" <ji...@apache.org>.
     [ https://issues.apache.org/jira/browse/MESOS-259?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Benjamin Mahler resolved MESOS-259.
-----------------------------------

    Resolution: Fixed
    
> 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

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

Posted by "Benjamin Mahler (JIRA)" <ji...@apache.org>.
     [ 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

[jira] [Commented] (MESOS-259) Expose slave attributes in slave endpoint

Posted by "Benjamin Mahler (JIRA)" <ji...@apache.org>.
    [ 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