public static String createHostAndPortStr(final String hostname, final int port) {
    return hostname + HOSTNAME_PORT_SEPARATOR + port;
  }
Create a host-and-port string
@param hostname Server hostname
@param port     Server port
@return Returns a concatenation of <code>hostname</code> and <code>port</code> in following
        form: <code>&lt;hostname&gt; ':' &lt;port&gt;</code>. For example, if hostname is
        <code>example.org</code> and port is 1234, this method will return
        <code>example.org:1234</code>
hbase-common/src/main/java/org/apache/hadoop/hbase/util/Addressing.java