public HiveMetaStoreClient getClient() {
    if (client == null) {
      try {
        this.client = HMS_CLIENT_CTOR.newInstance(hiveConf);
      } catch (Exception e) {
        throw new RuntimeException(e);
      }
    }
    return this.client;
  }
Starts a TestHiveMetastore with a provided connection pool size.

@param poolSize The number of threads in the executor pool
amoro-common/src/test/java/org/apache/amoro/hive/HMSMockServer.java