[
https://issues.apache.org/jira/browse/MESOS-2124?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Thomas Rampelberg updated MESOS-2124:
-------------------------------------
Description:
Right now, Mesos is aware of whether a slave is activated or deactivated.
Unfortunately, this only shows as a count in state.json. I would like to see a
boolean on each slave in the list mentioning whether it is activated or not.
Here's a snippet from state.json as it stands today:
"slaves": [
{
"attributes": {},
"hostname": "ubuntu-14.04-amd64-vmwarefusion",
"id": "20141118-205755-16842879-5050-1617-0",
"pid": "slave(1)@127.0.1.1:5051",
"registered_time": 1416344284.37949,
"resources": {
"cpus": 2,
"disk": 32297,
"mem": 496,
"ports": "[31000-32000]"
}
}
]
I would like it to look like this:
"slaves": [
{
"attributes": {},
"activated": true,
"hostname": "ubuntu-14.04-amd64-vmwarefusion",
"id": "20141118-205755-16842879-5050-1617-0",
"pid": "slave(1)@127.0.1.1:5051",
"registered_time": 1416344284.37949,
"resources": {
"cpus": 2,
"disk": 32297,
"mem": 496,
"ports": "[31000-32000]"
}
}
]
was:Right now, Mesos is aware of whether a slave is activated or deactivated.
Unfortunately, this only shows as a count in state.json. I would like to see a
boolean on each slave in the list mentioning whether it is activated or not.
> state.json should report slave connection state
> -----------------------------------------------
>
> Key: MESOS-2124
> URL: https://issues.apache.org/jira/browse/MESOS-2124
> Project: Mesos
> Issue Type: Bug
> Reporter: Thomas Rampelberg
> Priority: Minor
> Labels: newbie
>
> Right now, Mesos is aware of whether a slave is activated or deactivated.
> Unfortunately, this only shows as a count in state.json. I would like to see
> a boolean on each slave in the list mentioning whether it is activated or not.
> Here's a snippet from state.json as it stands today:
> "slaves": [
> {
> "attributes": {},
> "hostname": "ubuntu-14.04-amd64-vmwarefusion",
> "id": "20141118-205755-16842879-5050-1617-0",
> "pid": "slave(1)@127.0.1.1:5051",
> "registered_time": 1416344284.37949,
> "resources": {
> "cpus": 2,
> "disk": 32297,
> "mem": 496,
> "ports": "[31000-32000]"
> }
> }
> ]
> I would like it to look like this:
> "slaves": [
> {
> "attributes": {},
> "activated": true,
> "hostname": "ubuntu-14.04-amd64-vmwarefusion",
> "id": "20141118-205755-16842879-5050-1617-0",
> "pid": "slave(1)@127.0.1.1:5051",
> "registered_time": 1416344284.37949,
> "resources": {
> "cpus": 2,
> "disk": 32297,
> "mem": 496,
> "ports": "[31000-32000]"
> }
> }
> ]
--
This message was sent by Atlassian JIRA
(v6.3.4#6332)