← Back to all products

Unity Catalog Migration Kit

$69

Step-by-step migration toolkit from Hive Metastore to Unity Catalog. Assessment scripts, automated migration, validation tests, and rollback procedures.

📁 14 files🏷 v1.0.0
Production-ready
✓ Instant download✓ Lifetime updates✓ MIT licensed✓ MIT license✓ Secure checkout (Stripe)

📋 What's Inside 14 files

  • README.md— Product overview and quick start guide
  • notebooks/pre_migration_assessment.py— Scans Hive Metastore and generates comprehensive assessment report
  • notebooks/automated_table_migration.py— Migrates tables from Hive to Unity Catalog using CTAS with validation
  • notebooks/permission_mapper.py— Maps Hive permissions to Unity Catalog grants
  • notebooks/post_migration_validation.py— Validates migration integrity with row counts, schema comparison, and data sampling
  • terraform/unity-catalog-setup/main.tf— Unity Catalog metastore, catalogs, schemas, and external locations
  • terraform/unity-catalog-setup/variables.tf— Configurable variables for the Terraform module
  • terraform/unity-catalog-setup/outputs.tf— Terraform outputs for downstream consumption
  • tools/migration_planner.py— Generates migration waves from assessment output
  • tools/timeline_estimator.py— Estimates migration timeline based on table count and data volume
  • guides/migration_guide.md— Step-by-step migration guide
  • guides/day2_operations.md— Post-migration Unity Catalog operations guide
  • guides/rollback_procedures.md— Rollback procedures for each migration stage
  • templates/migration_planning_spreadsheet.csv— CSV template for migration wave planning

📁 File Structure 14 files

unity-catalog-migration-kit/
├── README.md
├── notebooks/
│ ├── pre_migration_assessment.py
│ ├── automated_table_migration.py
│ ├── permission_mapper.py
│ ├── post_migration_validation.py
├── terraform/
│ ├── unity-catalog-setup/
│ │ ├── main.tf
│ │ ├── variables.tf
│ │ ├── outputs.tf
├── tools/
│ ├── migration_planner.py
│ ├── timeline_estimator.py
├── guides/
│ ├── migration_guide.md
│ ├── day2_operations.md
│ ├── rollback_procedures.md
├── templates/
│ ├── migration_planning_spreadsheet.csv

📖 Documentation Preview README excerpt

Unity Catalog Migration Kit

By [Datanest Digital](https://datanest.dev) | Version 1.0.0 | $69

A comprehensive, production-ready toolkit for migrating from Databricks Hive Metastore to Unity Catalog. Includes automated assessment, migration notebooks, Terraform infrastructure-as-code, planning tools, and operational guides.

---

What's Included

Databricks Notebooks
NotebookPurpose
`pre_migration_assessment.py`Scans Hive Metastore, catalogs all databases/tables/views/permissions, generates assessment report
`automated_table_migration.py`Migrates tables from Hive to Unity Catalog using CTAS with full validation
`permission_mapper.py`Maps legacy Hive permissions to Unity Catalog grants
`post_migration_validation.py`Validates migration integrity: row counts, schema comparison, data sampling
Terraform Module
FilePurpose
`unity-catalog-setup/main.tf`Full Unity Catalog metastore, catalogs, schemas, external locations
`unity-catalog-setup/variables.tf`Configurable variables for all resources
`unity-catalog-setup/outputs.tf`Outputs for downstream consumption
CLI Tools
ToolPurpose
`migration_planner.py`Generates migration waves from assessment output
`timeline_estimator.py`Estimates migration timeline based on table count and data volume
Guides
GuidePurpose
`migration_guide.md`Step-by-step migration walkthrough
`day2_operations.md`Post-migration Unity Catalog operations
`rollback_procedures.md`Rollback procedures for each migration stage
Templates
TemplatePurpose
`migration_planning_spreadsheet.csv`CSV template for migration wave planning

---

Quick Start

1. Run the Pre-Migration Assessment

Import notebooks/pre_migration_assessment.py into your Databricks workspace and run it. This produces a JSON assessment report cataloging every database, table, view, and permission in your Hive Metastore.

2. Plan Migration Waves

Use the CLI planner to generate migration waves from the assessment:


python tools/migration_planner.py \

--assessment-file assessment_report.json \

--max-tables-per-wave 50 \

--output waves.json


... preview truncated, see full README in product download.

📄 Code Sample .py preview

notebooks/pre_migration_assessment.py# Databricks notebook source # MAGIC %md # MAGIC # Pre-Migration Assessment # MAGIC **Unity Catalog Migration Kit — Datanest Digital** # MAGIC # MAGIC Scans the Hive Metastore and generates a comprehensive assessment report covering: # MAGIC - All databases, tables, views, and functions # MAGIC - Table formats, sizes, partitioning, and storage locations # MAGIC - Existing permissions and ownership # MAGIC - Migration complexity scoring # MAGIC # MAGIC **Usage:** Run all cells. The assessment report is saved as JSON to the configured output path. # COMMAND ---------- # MAGIC %md # MAGIC ## Configuration # COMMAND ---------- # Widget parameters for notebook configuration dbutils.widgets.text("output_path", "/tmp/unity_catalog_migration/assessment", "Assessment Output Path") dbutils.widgets.dropdown("include_data_profiling", "true", ["true", "false"], "Include Data Profiling") dbutils.widgets.text("exclude_databases", "default,information_schema", "Databases to Exclude (comma-separated)") dbutils.widgets.text("assessment_tag", "initial", "Assessment Tag/Label") output_path: str = dbutils.widgets.get("output_path") include_data_profiling: bool = dbutils.widgets.get("include_data_profiling") == "true" exclude_databases: list = [db.strip() for db in dbutils.widgets.get("exclude_databases").split(",") if db.strip()] assessment_tag: str = dbutils.widgets.get("assessment_tag") print(f"Output path: {output_path}") print(f"Data profiling: {include_data_profiling}") print(f"Excluded databases: {exclude_databases}") print(f"Assessment tag: {assessment_tag}") # COMMAND ---------- # MAGIC %md # MAGIC ## Imports and Setup

📅 Changelog

v1.0.0 — Initial release.

Purchases include lifetime updates. Check the product page for the latest version.

📄 Product Preview

Try the interactive reader and demo tools below, or get the full product with all content unlocked.

📖 Interactive Reader (Free Preview)⚙ Try Demo Tools📦 Download Free Sample

❓ Frequently Asked Questions

What license is this under?

How do I download after purchase?

Do I get updates?

What if it doesn't work for me?

Can I get a refund?

Is there support?

Buy Now — $69 Back to Products