Uninstall LiveData Migrator
#
Stop all active migrationsBefore uninstalling LiveData Migrator, stop all active migrations of data and/or metadata.
Stop migrations in the UI when viewing the migration.
If you prefer to stop data migrations in the CLI, run the stop migration command:
Examplemigration stop --name <name>
To stop metadata migrations, run the stop metadata migration command:
Examplehive migration stop all
#
Uninstall any remote agentsIf you have deployed any remote agents (for target metastore connections), log in to the hosts for the remote agents and uninstall them using the following commands:
Stop the service:
service hivemigrator-remote-server stop
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 LiveData MigratorStop all LiveData Migrator services:
service livedata-ui stop && service hivemigrator stop && service livedata-migrator stop
Remove all LiveData Migrator components:
Red Hat/CentOSyum remove -y hivemigrator.noarch hivemigrator-azure-hdi.noarch livedata-migrator.noarch livedata-migrator-cli.noarch livedata-ui.noarch
Ubuntuapt-get purge -y hivemigrator hivemigrator-azure-hdi livedata-migrator livedata-migrator-cli livedata-ui
SUSE 12zypper remove -y hivemigrator hivemigrator-azure-hdi livedata-migrator livedata-ui && rpm -e livedata-migrator-cli
(Optional) Delete all related directories:
rm -rf /etc/wandisco/ui /etc/wandisco/hivemigrator /etc/wandisco/livedata-migrator /var/run/hivemigrator /var/run/livedata-migrator /var/run/livedata-ui /var/log/wandisco/audit/ui /opt/wandisco/hive-migrator-hdi
note
You 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.