Uninstall Data Migrator
An optional step detailed below in the section Uninstall Data Migrator is to delete all Data Migrator directories.
These directories contain user-modified files such as configurations, logs, and backups that you may want to keep.
Archive the directories if you want to keep backups and configurations.
Stop all active migrations
Before you uninstall Data Migrator, stop all active data and metadata migrations.
To stop all data and metadata migrations at once with the UI, go to the Data Migrations or Metadata Migrations page, and select Stop under Bulk Actions.
See Bulk Actions.To stop all data migrations with the CLI, run the stop all migrations command:
Examplemigration stop allTo stop all metadata migrations with the CLI, run the stop metadata migration command:
Examplehive migration stop all
Uninstall any remote agents
If you have deployed any remote agents (for target metastore connections), sign in to the hosts for the remote agents and uninstall them using the following commands as the root (or sudo) user:
Stop the service (use the initialization system command appropriate for your environment):
System Vservice hivemigrator-remote-server stopsystemdsystemctl stop hivemigrator-remote-serverRemove the remote server package:
Red Hat/CentOSyum remove -y hivemigrator-remote-server.noarchUbuntuapt-get purge -y hivemigrator-remote-serverDelete all related directories:
rm -rf /etc/wandisco/hivemigrator-remote-server /var/run/hivemigrator-remote-server
Uninstall any data transfer agents
To uninstall a data transfer agent, follow the Uninstall an agent steps.
Uninstall Data Migrator
Run these steps as the root (or sudo) user to uninstall Data Migrator:
Stop all Data Migrator services (use the initialization system command appropriate for your environment):
System Vservice livedata-ui stop && service hivemigrator stop && service livedata-migrator stopsystemdsystemctl stop livedata-ui
systemctl stop hivemigrator
systemctl stop livedata-migratorRemove all Data Migrator components:
Red Hat/CentOSyum remove -y hivemigrator.noarch livedata-migrator.noarch livedata-migrator-cli.noarch livedata-ui.noarchUbuntuapt-get purge -y hivemigrator livedata-migrator livedata-migrator-cli livedata-ui
The Big Replicate version of Data Migrator uses livedata-ui-partner as the UI component.
Use livedata-ui-partner when removing the UI component with your appropriate package manager.
yum remove -y hivemigrator.noarch livedata-migrator.noarch livedata-migrator-cli.noarch livedata-ui-partner.noarch
(Optional) Delete all related directories:
rm -rf /etc/wandisco/ui /etc/wandisco/hivemigrator /etc/wandisco/livedata-migrator /etc/wandisco/livedata-migrator-cli /var/run/hivemigrator /var/run/livedata-migrator /var/run/livedata-ui /var/log/wandisco/audit/ui /opt/wandisco/hive-migrator-hdi