@Override
  // Don't use HostAndPort equals... It is wonky including
  // ipv6 brackets
  public boolean equals(Object other) {
    if (this == other) {
      return true;
    }
    if (other instanceof Address) {
      Address that = (Address) other;
      return this.getHostName().equals(that.getHostName()) && this.getPort() == that.getPort();
    }
    return false;
  }
If hostname is a.b.c and the port is 123, return a:123 instead of a.b.c:123.
@return if host looks like it is resolved -- not an IP -- then strip the domain portion
        otherwise returns same as {@link #toString()}}
hbase-common/src/main/java/org/apache/hadoop/hbase/net/Address.java