You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
7.[delta live table pipeline migration](/docs/process#delta-live-table-pipeline-migration-process)
14
15
8.[final details](#final-details)
@@ -290,6 +291,26 @@ The [`revert-migrated-tables` command](/docs/reference/commands#revert-migrated-
290
291
the `upgraded_to` property on the source object. Use this command to allow for migrating a table or view again.
291
292
292
293
294
+
## HMS Federation
295
+
296
+
Hive Metastore (HMS) Federation is a feature that allows HMS to be federated to a catalog.
297
+
More information is available in the [Databricks documentation](https://docs.databricks.com/en/data-governance/unity-catalog/hms-federation/index.html).
298
+
HMS Federation is used in two scenarios:
299
+
1. A step to ease the migration to Unity Catalog.
300
+
2. A Hybrid solution where both HMS and UC access to the data is required.
301
+
302
+
> You are required to complete the [assessment workflow](/docs/reference/workflows#assessment-workflow) before starting the table migration workflow.
303
+
HMS Federation is an alternative to table migration.
304
+
You are required to complete all the steps documented in the [table migration process](/docs/process#table-migration-process) except for:
305
+
-[Table Mapping](/docs/process#table-mapping)
306
+
-[Create Catalogs and Schemas](/docs/process/#step-2-create-catalogs-and-schemas)
307
+
-[Migrate Hive metastore data objects](/docs/process#migrate-hive-metastore-data-objects)
Copy file name to clipboardExpand all lines: docs/ucx/docs/reference/commands/index.mdx
+44-1Lines changed: 44 additions & 1 deletion
Original file line number
Diff line number
Diff line change
@@ -667,10 +667,53 @@ These commands are for [pipeline migration](/docs/process#delta-live-table-pipel
667
667
668
668
### `migrate-dlt-pipelines`
669
669
670
-
```text
670
+
```commandline
671
671
$ databricks labs ucx migrate-dlt-pipelines [--include-pipeline-ids <comma separated list of pipeline ids>] [--exclude-pipeline-ids <comma separated list of pipeline ids>]
672
672
```
673
673
674
+
## HMS (Hive Metastore) federation commands
675
+
676
+
These commands are for [Hive Metastore federation](/docs/process#hive-metastore-federation-process) and require the [assessment workflow](/docs/reference/workflows#assessment-workflow) to be completed.
677
+
Hive Metastore federation creates a UC catalog that mirrors all the schemas and tables in the source Hive Metastore. It is an alternative to the [table migration process](/docs/process#table-migration-process).
678
+
679
+
### `enable_hms_federation`
680
+
681
+
```commandline
682
+
$ databricks labs ucx enable_hms_federation
683
+
```
684
+
685
+
This command sets the `enable_hms_federation` flag in the config.yml file to `True`.<br/>
686
+
It is used to enable the Hive Metastore federation process.
687
+
It is also used by the `migrate-locations` command to determine whether to set the [Fallback Mode](https://docs.databricks.com/en/data-governance/unity-catalog/hms-federation/hms-federation-internal.html) to "True" in the newly created external locations.
688
+
In AWS it also also allows the creation a GLUE role if one is required using the `create-missing-principals` command.
689
+
690
+
### `create_federated_catalog`
691
+
692
+
```commandline
693
+
$ databricks labs ucx create_federated_catalog
694
+
```
695
+
696
+
This command performs the following steps:
697
+
1. Prompts the user for a name for the federated catalog and connection.
698
+
2. Create an HMS "Connection" in the Unity Catalog. The HMS connection will point to the HMS used by the workspace that was identified in the installation process. It supports:
0 commit comments