Migrate in this order: inventory what depends on the Hive metastore, move identities to the account level, attach workspaces to a metastore, upgrade tables (external first), regrant, update jobs and files, then switch the old paths off. The step that removes access to the source table is the one that needs a written rollback. The table below sets out each step, what breaks and how to undo it.
Inventory first
List every table, view, function, mount, group and job that touches the metastore, with an owner and a last-used date. Retire what nobody uses. Databricks lists three upgrade routes: federate the metastore and upgrade in place, upgrade directly with SYNC or CREATE TABLE AS SELECT, or use UCX for larger estates.
Two checks save the most time. First, find compute that runs on Databricks Runtime below 13.3 LTS or in no-isolation shared mode. Databricks gives a query against system.compute.clusters for this. Second, sort your tables by type: external, managed in workspace storage (DBFS root), or managed elsewhere. Each type takes a different route. UCX has an assessment workflow that checks groups, storage, access controls and tables for Unity Catalog compatibility, and you can run it repeatedly before you start.
Which upgrade route fits?
| Route | What it does | Table type you end with | Watch for |
|---|---|---|---|
| Federate, then upgrade | Federates the Hive metastore as a foreign catalog, then upgrades in place with SET EXTERNAL or SET MANAGED MOVE | External or managed | SET MANAGED MOVE disables access to the source table. Databricks lists this route as the recommended one for Hive metastore tables |
| SYNC | Copies external Hive tables, and managed tables stored outside workspace storage, into Unity Catalog | External | Writes bookkeeping properties to the source table. Needs a storage credential, an external location and the CREATE EXTERNAL TABLE privilege |
| CREATE TABLE AS SELECT | Copies the data into managed storage | Managed | A full data copy. Databricks calls CLONE almost always preferred |
| DEEP CLONE | Copies managed Hive tables in Delta format | Managed | Table history is not migrated, so time travel is unavailable on the clone |
| UCX | Databricks Labs toolkit for assessment, group migration and table migration | External or managed, by source type | Not directly supported by Databricks and not covered by SLAs. Treat output as a draft |
Order of objects, what breaks, rollback
| Step | What breaks | Rollback |
|---|---|---|
| Identities to the account level; workspace groups to account groups | Grants that point at workspace-local groups | Keep old groups until the end |
| Attach the workspace to a metastore | Nothing resolves until attached | Detach |
| Federate the Hive metastore | Little. Old and new run side by side | Drop the connection |
| Upgrade external tables (SET EXTERNAL or SYNC) | Queries that use paths instead of table names | Repoint to the old table |
| Upgrade managed tables (SET MANAGED MOVE) | Access to the source table is disabled | Decide before this step. Test on one table first |
| Regrant to account-level principals | Empty results or table-not-found errors | Reapply grants from an export |
| Move files from DBFS to volumes; compute to Runtime 13.3 LTS or later | Mounts, path-based access, older runtimes | Keep DBFS read-only until jobs move |
| Disable DBFS root, mounts, the Hive metastore and no-isolation shared compute | Anything still using them | Last step, after a clean week |
Managed or external tables: which first?
Databricks recommends managed tables as the end state. It says they cost less to store and query than external or foreign tables, and they get automatic maintenance such as compaction and predictive optimization. External tables are still supported, and SET EXTERNAL converts a foreign table to one.
Our advice is to start with external tables. Of the two conversion commands, only SET MANAGED MOVE is documented as disabling access to the source table, so the external wave is the easier one to undo. Move managed tables in a later wave, one table first, once the team has seen a clean run.
What federation gives you, and what it does not
Federation lets Unity Catalog govern tables that still live in the Hive metastore. Queries get Unity Catalog access checks, auditing and lineage, while the query itself runs against the Hive metastore. Three limits matter for planning:
- Writes work only for the internal Hive metastore. A federated external Hive metastore or AWS Glue is read-only.
- Foreign tables lack some Unity Catalog features, including predictive optimization and data quality monitoring.
- Performance can be slightly worse, because both the Hive metastore and Unity Catalog sit on the query path.
Federation also has a fallback mode for migration only. It lets unmigrated workloads use cluster or notebook credentials when a Unity Catalog check fails. Turn it off when migration ends.
What breaks
- Path-based file access, because Unity Catalog uses volumes.
- Workspace-level automation that targets workspace endpoints for provisioning.
- Lineage after you rename catalogs, schemas, tables or columns. Databricks does not preserve it.
- Jobs that ran on runtimes older than 13.3 LTS or in no-isolation shared mode.
- Hive commands that change partitions directly. They are not supported on Unity Catalog managed tables.
- Tables with files stored outside the table location, such as partitions elsewhere. These can fail to query through federation.
Rollback
Write the rollback for each wave before you start it, and record who decides to use it. Keep the old path read-only until jobs have run clean for an agreed time. These points come from the Databricks pages:
- After SYNC, test dependencies by revoking access to the old table and rerunning workloads. Do not drop the old table if the source changed after the sync.
- Do not drop objects through a foreign catalog on the internal Hive metastore. The change applies to the metastore at once, and there is no UNDROP.
- Copying files does not remove the originals. Lock down or delete DBFS root data only after the move is proven.
- Disabling the Hive metastore is reversible only for a time. After 30 days with legacy access disabled, the workspace becomes Unity Catalog only and direct Hive metastore access cannot be turned back on.
A cutover checklist for each wave
- Pick the tables, owners and the jobs that read them.
- Export current grants and table definitions.
- Run the upgrade on one table and compare row counts and query results.
- Regrant to account-level groups and test with a real user from each team.
- Move the jobs for that wave to table names and volume paths.
- Run clean for the agreed period with the old path read-only, then close the wave.
Questions we hear
Can we run old and new side by side? Yes, with federation. The Hive metastore and Unity Catalog serve queries together until you switch the old path off.
What about lineage? Plan for a gap. Databricks does not keep lineage when you rename objects, so migrate first and rename later, or accept the loss. See our lineage guide.
A first engagement
Duczer East offers a migration readiness review. We design, build and run Unity Catalog migrations for regulated teams. The review inventories your tables, groups, jobs and compute, sorts them into waves, and hands back a written plan with a rollback for each wave. Read more on our Databricks consulting page.
For the service, see Unity Catalog consulting and the scenario Hive metastore cutover to Unity Catalog. If Unity Catalog is not your only catalog, read Unity Catalog vs Microsoft Purview.
Sources checked November 24, 2026:





