My framework knows the list of zookeeper hosts and the list of mesos master hosts.
I can think of a few ways for the framework to figure out which host is the current master. What would be the best? Should I check in zookeeper directly? Does the mesos library expose an interface to discover the master from zookeeper or otherwise? Should I just try each possible master until one responds? Apologies if this is already well documented, but I wasn't able to find it. Thanks! - Philip