Once you have connected your metastores, define the metadata rules that determine the metadata you want to migrate.
Ensure that you have migrated the HCFS data for the databases and tables that you want to migrate.
Both HCFS data and associated metadata are needed before successful queries can be run on migrated databases.
In the UI, metadata rules are defined when creating a metadata migration.
Define which databases and tables you want to migrate by creating hive rules.
Create a database pattern and a table pattern based upon Hive DDL that will match the databases and tables you want to migrate. For example, using
--database-pattern test* will match any database with "test" at the beginning of its name, such as
|Create a hive rule that can be used for a migration|
|Configure an existing hive rule|
|Delete a hive rule|
|List all hive rules|
|Show the configuration of a hive rule|
Once you have defined the metadata rules, create a metadata migration.