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 <[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)

Reply via email to