hms-mirror v2.3.1.x Help

Migrate Options

There are several options to control the migration of tables and views.

ACID Tables

ACID tables require special handling. By default, ACID tables are NOT migrated unless the following options are set.

-ma|--migrate-acid will set the migration to include ACID tables. -mao|--migrate-acid-only will set the migration to include ONLY ACID tables.

migrate-options.png
migrateACID: "on": true only: false

Non-Native Tables

By default, non-native tables are NOT migrated. Usually because there are requirements that the underlying technology be in place before the migration can happen.

If those prerequisites are met, you can set the migrateNonNative option to true in the configuration file.

This is typical of tables in Hive that rely on other technologies to store the data. EG: HBase, Kafka, JDBC Federation, etc.

-mnn|--migrate-non-native will set the migration to include non-native tables. -mnno|--migrate-non-native-only will set the migration to include ONLY non-native tables.

migrate-options.png
migrateNonNative: true

Views

Views are NOT migrated by default. Views require the underlying tables to be in place before they can be created. If you have views, migrate the tables first and then rerun the migration for the views.

-v|--views-only will set the migration to include ONLY views.

migrate-options.png
migrateVIEW: "on": false
Last modified: 14 April 2025