[
https://issues.apache.org/jira/browse/MESOS-2124?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Niklas Quarfot Nielsen resolved MESOS-2124.
-------------------------------------------
Resolution: Fixed
commit 66e3d0633096834f233589b47424fe1723660326
Author: Niklas Nielsen <[email protected]>
Date: Wed Nov 19 13:59:52 2014 -0800
Added slave active field in state.json.
Review: https://reviews.apache.org/r/28260
> 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
> Assignee: Adam B
> 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)