An open API service indexing awesome lists of open source software.

https://github.com/phact/spark-migration

cluster migration with spark
https://github.com/phact/spark-migration

Last synced: 7 months ago
JSON representation

cluster migration with spark

Awesome Lists containing this project

README

          

# spark-migration
cluster migration with spark

Make sure to change the path to your dse.jar:

https://github.com/phact/spark-migration/blob/master/pom.xml#L43

You will need to tweak your case class to match the table you want to migrate. I'm working on a way to make this dynamic.

https://github.com/phact/spark-migration/blob/master/src/main/java/com/phact/Migrate.java#L32-L131

You can build with `mvn package` and run with `dse spark-submit target`

dse spark-submit --class com.phact.App target/sparkjJavaApi-1.0-SNAPSHOT.jar sourceNodeIP destinationNodeIP Keyspace.Table