public static InetSocketAddress
    createInetSocketAddressFromHostAndPortStr(final String hostAndPort) {
    return new InetSocketAddress(parseHostname(hostAndPort), parsePort(hostAndPort));
  }
Create a socket address
@param hostAndPort Formatted as <code>&lt;hostname&gt; ':' &lt;port&gt;</code>
@return An InetSocketInstance
hbase-common/src/main/java/org/apache/hadoop/hbase/util/Addressing.java