Uploaded image for project: 'Mesos'
  1. Mesos
  2. MESOS-2340

Add ability to decode JSON serialized MasterInfo from ZK

    XMLWordPrintableJSON

    Details

    • Type: Improvement
    • Status: Resolved
    • Priority: Major
    • Resolution: Fixed
    • Affects Version/s: None
    • Fix Version/s: 0.23.0
    • Component/s: leader election
    • Labels:
    • Target Version/s:
    • Sprint:
      Mesosphere Sprint 11, Mesosphere Sprint 12
    • Story Points:
      5

      Description

      Currently to discover the master a client needs the ZK node location and access to the MasterInfo protobuf so it can deserialize the binary blob in the node.

      I think it would be nice to publish JSON (like Twitter's ServerSets) so clients are not tied to protobuf to do service discovery.

      This ticket is an intermediate (compatibility) step: we add in 0.23 the ability for the Detector to "understand" JSON *alongside* Protobuf serialized format; this makes it compatible with both earlier versions, as well a future one (most likely, 0.24) that will write the MasterInfo information in JSON format.

        Attachments

          Issue Links

            Activity

              People

              • Assignee:
                marco-mesos Marco Massenzio
                Reporter:
                zmanji Zameer Manji
              • Votes:
                0 Vote for this issue
                Watchers:
                12 Start watching this issue

                Dates

                • Created:
                  Updated:
                  Resolved: