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

Provide API to return information about all masters

    XMLWordPrintableJSON

    Details

    • Type: Improvement
    • Status: Open
    • Priority: Major
    • Resolution: Unresolved
    • Affects Version/s: None
    • Fix Version/s: None
    • Component/s: master

      Description

      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:

      {
      	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"
      }
      
      

        Attachments

          Issue Links

            Activity

              People

              • Assignee:
                Unassigned
                Reporter:
                kensipe Ken Sipe
              • Votes:
                0 Vote for this issue
                Watchers:
                4 Start watching this issue

                Dates

                • Created:
                  Updated: