static String getConnectionString(Configuration conf) throws UnknownHostException {
    return getMasterAddr(conf);
  }
Parses the list of master addresses from the provided configuration. Supported format is comma
separated host[:port] values. If no port number if specified, default master port is assumed.
@param conf Configuration to parse from.
hbase-client/src/main/java/org/apache/hadoop/hbase/client/MasterRegistry.java