public String getMaster() {
      return master;
    }
A master and secondary host(s). In HA mode there is one master and one secondary host,
in federated mode there can be more than one secondaries.
ambari-server/src/main/java/org/apache/ambari/server/stack/HostsType.java