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:
- Switch to the Hadoop Distributed File System (HDFS) superuser.
Examplesu - hdfs
- Change to the directory where the jar is located:
cd /opt/wandisco/livedata-migrator
- 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.
Examplekinit -kt /etc/security/keytabs/hdfs.keytab hdfs@REALM.COM
- If Kerberos is disabled in your environment, run: