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