An Apache Spark-based analytics platform optimized for Azure.
Yes. In a Unity Catalog-enabled Azure Databricks workspace, the legacy per-workspace Hive metastore can continue to be used in the same workspace during migration. Objects from the legacy metastore are exposed through the hive_metastore catalog, and tables can be queried with three-level naming such as:
SELECT * FROM hive_metastore.schema_name.table_name
This is a supported legacy coexistence model and is specifically described as a transition approach while migrating to Unity Catalog. Databricks also documents Hive metastore federation as a gradual migration option, where workloads can read and write to both the Hive metastore and Unity Catalog during the migration period.
Important limitations:
- The legacy Hive metastore is a legacy feature.
- It does not provide the full Unity Catalog governance features such as built-in auditing, lineage, and access control.
- The legacy Hive metastore has database connection limits, so high-concurrency production fallback usage can encounter metastore connection errors or startup failures.
- Cluster-scoped credentials are used for Hive metastore data access, not Unity Catalog governance.
For rollback or fallback in the same active production workspace, that means hive_metastore can remain usable until direct Hive metastore access is explicitly disabled.
For an older production workspace that later becomes inactive: the provided documentation does not state that inactivity by itself converts or disables the legacy Hive metastore. What is documented is this:
- If direct access to the legacy Hive metastore is disabled, jobs using Hive metastore tables fail, the
hive_metastorecatalog disappears from Catalog Explorer, SQL commands against it fail, and fallback is disabled. - After 30 days with the legacy metastore disabled, the workspace permanently becomes a Unity Catalog-only workspace, and direct Hive metastore access can no longer be re-enabled.
So the deciding factor is not workspace inactivity in the provided material, but whether the workspace has had legacy metastore access disabled as part of the migration or hardening process.
A practical production approach from the documented guidance is:
- Migrate tables and workloads to Unity Catalog.
- Keep
hive_metastoreavailable temporarily only if needed during transition. - Do not disable Hive metastore access until all jobs are upgraded and no fallback is required.
- Once migration is complete, disable direct Hive metastore access intentionally.
- Work with the legacy Hive metastore alongside Unity Catalog
- Database objects in the legacy Hive metastore
- Database objects in the legacy Hive metastore
- Hive metastore federation: enable Unity Catalog to govern tables registered in a Hive metastore
- Disable access to the Hive metastore used by your Azure Databricks workspace
- Upgrade an Azure Databricks workspace to Unity Catalog