You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@mesos.apache.org by "Niklas Quarfot Nielsen (JIRA)" <ji...@apache.org> on 2014/11/19 01:31:34 UTC
[jira] [Commented] (MESOS-2124) state.json should report slave
connection state
[ https://issues.apache.org/jira/browse/MESOS-2124?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=14217135#comment-14217135 ]
Niklas Quarfot Nielsen commented on MESOS-2124:
-----------------------------------------------
How about making the status explicit?
{code}
"status": "active",
{code}
and
{code}
"status": "inactive",
{code}
That allows us to tell more about the slave status eventually.
> 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)