private HostAndPort getAddress() {
      HostAndPort hp = HTTPUtils.getHostAndPortFromProperty(address);
      if (hp == null) {
        throw new IllegalArgumentException("Could not parse host and port from " + address);
      }
      return hp;
    }
I represent a nameServiceId that belongs to HDFS. Multiple namenodes may belong to the same nameServiceId.
Each NameNode has either an http or https address.
ambari-server/src/main/java/org/apache/ambari/server/stack/NameService.java