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

Add ability to decode JSON serialized MasterInfo from ZK

    XMLWordPrintableJSON

Details

    • Improvement
    • Status: Resolved
    • Major
    • Resolution: Fixed
    • None
    • 0.23.0
    • leader election
    • Mesosphere Sprint 11, Mesosphere Sprint 12
    • 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

              marco-mesos Marco Massenzio
              zmanji Zameer Manji
              Votes:
              0 Vote for this issue
              Watchers:
              11 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: