public static AmsThriftUrl parse(String url, String serviceName) {
    if (url == null) {
      throw new IllegalArgumentException("thrift url is null");
    }
    if (url.startsWith(ZOOKEEPER_FLAG)) {
      return parserZookeeperUrl(url, serviceName);
    } else {
      return parserThriftUrl(url);
    }
  }
parse thrift url, now support thrift://host:port/{catalogName} and
zookeeper://host:port/{cluster}/{catalogName} . parse to AmsThriftUrl that contains properties
schema, host, port, catalogName, socketTimeout, url.

@param url - thrift url
@return -
amoro-common/src/main/java/org/apache/amoro/client/AmsThriftUrl.java