[ 
https://issues.apache.org/jira/browse/MESOS-2340?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=14550857#comment-14550857
 ] 

haosdent commented on MESOS-2340:
---------------------------------

I think create the protobuf node and json node at the same time maybe more 
clear. And zookeeper have multi operation api. 
https://github.com/apache/zookeeper/blob/trunk/src/c/tests/TestMulti.cc#L282-L284
 But it is also OK for me if you decide add separate process to watch the node. 
I would try to implement this after you have a conclusion. :-)

> Publish JSON in ZK instead of serialized MasterInfo
> ---------------------------------------------------
>
>                 Key: MESOS-2340
>                 URL: https://issues.apache.org/jira/browse/MESOS-2340
>             Project: Mesos
>          Issue Type: Improvement
>            Reporter: Zameer Manji
>            Assignee: haosdent
>
> 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 message was sent by Atlassian JIRA
(v6.3.4#6332)

Reply via email to