Skip to main content
Version: 1.22.0

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:

    Example
    migration stop --name <name>
  • To stop all metadata migrations with the CLI, run the stop metadata migration command:

    Example
    hive 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:

  1. Stop the service (use the initialization system command appropriate for your environment):

    System V
    service hivemigrator-remote-server stop
    systemd
    systemctl stop hivemigrator-remote-server
  2. Remove the remote server package:

    Red Hat/CentOS
    yum remove -y hivemigrator-remote-server.noarch
    Ubuntu
    apt-get purge -y hivemigrator-remote-server
    SUSE 12
    zypper remove -y hivemigrator-remote-server
  3. 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:

  1. Stop all Data Migrator services (use the initialization system command appropriate for your environment):

    System V
    service livedata-ui stop && service hivemigrator stop && service livedata-migrator stop
    systemd
    systemctl stop livedata-ui
    systemctl stop hivemigrator
    systemctl stop livedata-migrator
  2. Remove all Data Migrator components:

    Red Hat/CentOS
    yum remove -y hivemigrator.noarch livedata-migrator.noarch livedata-migrator-cli.noarch livedata-ui.noarch
    Ubuntu
    apt-get purge -y hivemigrator livedata-migrator livedata-migrator-cli livedata-ui
    SUSE 12
    zypper remove -y hivemigrator livedata-migrator livedata-ui && rpm -e livedata-migrator-cli
note

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.

Big Replicate package removal example
yum remove -y hivemigrator.noarch livedata-migrator.noarch livedata-migrator-cli.noarch livedata-ui-partner.noarch
  1. (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
    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.

Next steps

Install Data Migrator.