private boolean getIfClientFilterEnabled() {
    boolean isEnabled = MetastoreConf.getBoolVar(conf, ConfVars.METASTORE_CLIENT_FILTER_ENABLED);
    LOG.info("HMS client filtering is " + (isEnabled ? "enabled." : "disabled."));

    return isEnabled;
  }
Instantiate the metastore server handler directly instead of connecting
through the network

@param conf Configuration object passed to embedded metastore
@return embedded client instance
@throws MetaException
standalone-metastore/metastore-common/src/main/java/org/apache/hadoop/hive/metastore/HiveMetaStoreClient.java