Skip to main content
Version: 2.6

Data Migrator jar

If you want to try out Data Migrator using a quick method, use the livedata-migrator.jar. This is an alternative to using the system service and it does not require configuration.

info

Use the system service instead for production deployment as it allows you to maintain long-lived migrations, have a common configuration that survives service restarts, and retain logging information in a central directory.

On the Data Migrator host, follow the steps below to run the jar:

  1. Switch to the Hadoop Distributed File System (HDFS) superuser.
    Example
    su - hdfs
  2. Change to the directory where the jar is located:
    cd /opt/wandisco/livedata-migrator
  3. Run the jar file to access the action prompt.
    • If Kerberos is disabled in your environment, run:
      java -jar livedata-migrator.jar
    • If Kerberos is enabled in your environment, you must obtain a ticket before running the jar.
      Example
      kinit -kt /etc/security/keytabs/hdfs.keytab hdfs@REALM.COM