[
https://issues.apache.org/jira/browse/MESOS-1406?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Benjamin Mahler resolved MESOS-1406.
------------------------------------
Resolution: Fixed
Trivial fix:
{noformat}
commit cd707f1d3e92ff9634041f00e4b220fe7619e6aa
Author: Benjamin Mahler <[email protected]>
Date: Thu May 22 10:58:01 2014 -0700
Fixed the use of a boolean in the master's stats.json endpoint.
{noformat}
> Master stats.json using boolean instead of integral value for 'elected'.
> ------------------------------------------------------------------------
>
> Key: MESOS-1406
> URL: https://issues.apache.org/jira/browse/MESOS-1406
> Project: Mesos
> Issue Type: Bug
> Affects Versions: 0.17.0, 0.16.0, 0.18.0
> Reporter: Benjamin Mahler
> Assignee: Benjamin Mahler
> Fix For: 0.19.0
>
>
> All stats.json values should be numeric, but it looks like a regression was
> introduced here:
> {noformat}
> commit f9d1dd819b6cc3843e4d1287ac10276d62cbfed4
> Author: Vinod Kone <[email protected]>
> Date: Tue Nov 19 10:39:27 2013 -0800
> Replaced usage of old detector with new Master contender and detector
> abstractions.
> From: Jiang Yan Xu <[email protected]>
> Review: https://reviews.apache.org/r/15510
> {noformat}
> Which appears to have been included since 0.16.0.
> Old stats.json:
> {code}
> {
> ...
> "elected": 0,
> ...
> }
> {code}
> {code}
> {
> ...
> "elected": false,
> ...
> }
> {code}
--
This message was sent by Atlassian JIRA
(v6.2#6252)