Uninstall Data Migrator
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 migration command:
Examplemigration stop --name <name>
To 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 stop
systemdsystemctl stop hivemigrator-remote-server
Remove the remote server package:
Red Hat/CentOSyum remove -y hivemigrator-remote-server.noarch
Ubuntuapt-get purge -y hivemigrator-remote-server
SUSE 12zypper remove -y hivemigrator-remote-server
Delete all related directories:
rm -rf /etc/wandisco/hivemigrator-remote-server /var/run/hivemigrator-remote-server
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 stop
systemdsystemctl 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.noarch
Ubuntuapt-get purge -y hivemigrator livedata-migrator livedata-migrator-cli livedata-ui
SUSE 12zypper remove -y hivemigrator livedata-migrator livedata-ui && rpm -e livedata-migrator-cli
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
noteYou may wish to archive these directories before deleting them. They often contain user-modified files such as configurations and logs that you may want to keep.