[ https://issues.apache.org/jira/browse/MESOS-7224?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=15903490#comment-15903490 ]
Anand Mazumdar commented on MESOS-7224: --------------------------------------- Currently, its not necessary for a master to know about all the other masters in the cluster. We do however provide an API allowing you to get details about the current master (it's {{MasterInfo}}) via the {{GET_MASTER}} call. https://github.com/apache/mesos/blob/master/docs/operator-http-api.md#get_master Does that help? > Provide Access to Master Info > ----------------------------- > > Key: MESOS-7224 > URL: https://issues.apache.org/jira/browse/MESOS-7224 > Project: Mesos > Issue Type: Improvement > Components: master > Reporter: Ken Sipe > Labels: master, mesosphere, zookeeper > > While it is possible to get framework details and agent details from > state.json or state-summary. There isn't an access point for getting master > information. > It would very useful to have an access point that provides that information. > a collection of what is in zk would be fantastic. > example return: > {code} > { > hostname: "10.0.6.183", > cluster: "ken-v6ndoid", > masters: [ > > {"address":{"hostname":"10.0.6.183","ip":"10.0.6.183","port":5050},"hostname":"10.0.6.183","id":"832b06e2-5826-4823-8b6e-6df723865be6","ip":3070623754,"pid":"master@10.0.6.183:5050","port":5050,"version":"1.2.0"}, > > {"address":{"hostname":"10.0.4.68","ip":"10.0.4.68","port":5050},"hostname":"10.0.4.68","id":"c5c03ffe-f37f-4503-b2b5-e7cf2c88c6b6","ip":1141112842,"pid":"master@10.0.4.68:5050","port":5050,"version":"1.2.0"}, > > {"address":{"hostname":"10.0.5.52","ip":"10.0.5.52","port":5050},"hostname":"10.0.5.52","id":"032c3c33-32f5-4e61-b8d4-21c23275f18e","ip":872742922,"pid":"master@10.0.5.52:5050","port":5050,"version":"1.2.0"} > ], > leader: "10.0.6.183" > } > {code} -- This message was sent by Atlassian JIRA (v6.3.15#6346)