Duczer East
Healthcare

In-perimeter AI on governed clinical and operational data.

Financial Services

Private AI and data platforms built to clear model-risk and audit review.

Financial services

Private AI, KYC/AML, API gateways and data governance for banks.

Insurance

Change data capture, governed agents and integration for insurers.

Healthcare

PHI document intelligence, FHIR APIs and in-perimeter AI for health systems and plans.

GuideAI & Data Engineering6 min read

Hive metastore to Unity Catalog: a cutover plan with rollback

Inventory, order, breakage and rollback in one table

Authored byCo-Founder and Managing Partner, Duczer East
Part of the Insights topic: Private AI & Data Architecture
On this page
  1. Inventory first
  2. Which upgrade route fits?
  3. Order of objects, what breaks, rollback
  4. Managed or external tables: which first?
  5. What federation gives you, and what it does not
  6. What breaks
  7. Rollback
  8. A cutover checklist for each wave
  9. Questions we hear
  10. A first engagement

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?

RouteWhat it doesTable type you end withWatch for
Federate, then upgradeFederates the Hive metastore as a foreign catalog, then upgrades in place with SET EXTERNAL or SET MANAGED MOVEExternal or managedSET MANAGED MOVE disables access to the source table. Databricks lists this route as the recommended one for Hive metastore tables
SYNCCopies external Hive tables, and managed tables stored outside workspace storage, into Unity CatalogExternalWrites bookkeeping properties to the source table. Needs a storage credential, an external location and the CREATE EXTERNAL TABLE privilege
CREATE TABLE AS SELECTCopies the data into managed storageManagedA full data copy. Databricks calls CLONE almost always preferred
DEEP CLONECopies managed Hive tables in Delta formatManagedTable history is not migrated, so time travel is unavailable on the clone
UCXDatabricks Labs toolkit for assessment, group migration and table migrationExternal or managed, by source typeNot directly supported by Databricks and not covered by SLAs. Treat output as a draft

Order of objects, what breaks, rollback

StepWhat breaksRollback
Identities to the account level; workspace groups to account groupsGrants that point at workspace-local groupsKeep old groups until the end
Attach the workspace to a metastoreNothing resolves until attachedDetach
Federate the Hive metastoreLittle. Old and new run side by sideDrop the connection
Upgrade external tables (SET EXTERNAL or SYNC)Queries that use paths instead of table namesRepoint to the old table
Upgrade managed tables (SET MANAGED MOVE)Access to the source table is disabledDecide before this step. Test on one table first
Regrant to account-level principalsEmpty results or table-not-found errorsReapply grants from an export
Move files from DBFS to volumes; compute to Runtime 13.3 LTS or laterMounts, path-based access, older runtimesKeep DBFS read-only until jobs move
Disable DBFS root, mounts, the Hive metastore and no-isolation shared computeAnything still using themLast 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

  1. Pick the tables, owners and the jobs that read them.
  2. Export current grants and table definitions.
  3. Run the upgrade on one table and compare row counts and query results.
  4. Regrant to account-level groups and test with a real user from each team.
  5. Move the jobs for that wave to table names and volume paths.
  6. 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:

Related: unity catalog consulting · unity Catalog vs Microsoft Purview

Frequently asked questions

What is the difference between Unity Catalog and the Hive metastore?

The Hive metastore is workspace-local with limited access control. Unity Catalog is account-wide and adds fine-grained grants and lineage.

Should we upgrade tables as managed or external?

External tables are the safer first wave. A managed upgrade of a federated table disables access to the source table, so plan rollback before that step.

Does UCX do the migration for us?

UCX is a Databricks Labs tool for larger migrations. Databricks notes it is not directly supported, so treat its output as a draft to check.

What does SYNC do to the source table?

SYNC copies an external Hive table, or a managed Hive table stored outside workspace storage, into Unity Catalog as an external table. It writes bookkeeping properties to the source table, and you can rerun it to pick up changes.

Which Databricks Runtime do we need?

Databricks says to upgrade all-purpose and job compute to Databricks Runtime 13.3 LTS or above and use Unity Catalog access modes.

Can we undo disabling the Hive metastore?

Only for a time. Databricks says that after 30 days with legacy access disabled, the workspace becomes Unity Catalog only and direct Hive metastore access cannot be turned back on.

Authored by

Co-Founder and Managing Partner, Duczer East

David deBoisblanc is co-founder of Duczer East and a digital transformation and innovation leader in data-centric AI, agentic systems, and enterprise integration. He shapes intent-driven AI solutions that modernize how organizations use data, drawing on deep experience with Cloudera and complex enterprise integration landscapes.

Newsletter

The Practitioner's Briefing

Senior-level insights on agentic AI, data engineering and enterprise integration, delivered to your inbox.

One email when there is something worth reading. Unsubscribe any time.

Let's Talk

Want to discuss the ideas raised here?

Tell us what you are working on. A senior practitioner replies, and only your email is required.

Get a quote