Uninstall and upgrade LiveData Migrator
We recommend that you regularly upgrade LiveData Migrator so you can take advantage of new functionality and other improvements. To upgrade, uninstall your current version and then install the new version.
The following steps explain how to uninstall LiveData Migrator and its components.
important
Backup any configuration files that you wish to save (located in /etc/wandisco
) before uninstalling LiveData Migrator.
If you are installing a newer release afterward, note the details of any current migrations that you want to start again once the new version is installed.
#
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
Delete all related directories:
rm -rf /etc/wandisco/ui /etc/wandisco/hivemigrator /var/run/hivemigrator /var/run/livedata-migrator /var/run/livedata-ui
#
Next StepsInstall the latest version of LiveData Migrator.