# External Metastores

## Local or remote mode

Immuta supports the use of external metastores in [local or remote mode](https://docs.databricks.com/data/metastores/external-hive-metastore.html#hive-metastore-deployment-modes) , following the same configuration detailed in the [Databricks documentation](https://docs.databricks.com/data/metastores/external-hive-metastore.html).

## Configure external Hive metastore

Download the metastore jars and point to them as specified in [Databricks documentation](https://docs.databricks.com/data/metastores/external-hive-metastore.html#download-the-metastore-jars-and-point-to-them). Metastore jars must end up on the cluster's local disk at this explicit path: `/databricks/hive_metastore_jars`.

If using DBR 7.x with Hive 2.3.x, either

* Set `spark.sql.hive.metastore.version` to `2.3.7` and `spark.sql.hive.metastore.jars` to `builtin` or
* Download the metastore jars and set `spark.sql.hive.metastore.jars` to `/databricks/hive_metastore_jars/*` as before.

## Configure AWS Glue Data Catalog

To use AWS Glue Data Catalog as the metastore for Databricks, see the [Databricks documentation](https://docs.databricks.com/data/metastores/aws-glue-metastore.html).
