Project: mesos
Issue MESOS-2340: Add ability to decode JSON serialized MasterInfo from ZK
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.
Story points: 5