You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@mesos.apache.org by "Benjamin Mahler (JIRA)" <ji...@apache.org> on 2014/05/22 19:59:01 UTC

[jira] [Created] (MESOS-1406) Master stats.json using boolean instead of integral value for 'elected'.

Benjamin Mahler created MESOS-1406:
--------------------------------------

             Summary: 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.18.0, 0.16.0, 0.17.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 <vi...@twitter.com>
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 <ya...@jxu.me>
    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)