class HadoopCatalog extends BaseMetastoreCatalog implements Closeable, SupportsNamespaces {

  @Override
  public Map<String, String> loadNamespaceMetadata(Namespace namespace) {
    Path nsPath = new Path(warehouseLocation, SLASH.join(namespace.levels()));

    if (!isNamespace(nsPath) || namespace.isEmpty()) {
      throw new NoSuchNamespaceException("Namespace does not exist: %s", namespace);
    }

    return ImmutableMap.of("location", nsPath.toString());
  }

  public  HadoopCatalog(String name, Configuration conf, String warehouseLocation);
  public  HadoopCatalog(Configuration conf, String warehouseLocation);
  public  HadoopCatalog(Configuration conf);

}