40 minutes, Expert, Start Building
Migrate data from an existing Cassandra cluster to Astra using a Spark application.
- Leverage Spark to migrate data from a Cassandra cluster to Cassandra on AstraDB.
How this works
We're using Spark to migrate data from a Cassandra cluster to Cassandra on AstraDB.
To build and play with this app, follow the build instructions that are located here: https://github.com/DataStax-Examples/astra-spark-migration
Follow the instructions below to get started.
Let's do some initial setup.
Create a DataStax Astra account if you don't already have one:
Define a database name, keyspace name and credentials (Take note of the DB Password)
Your Astra DB will be ready when the status will change from
Locate the combo
Organization: <Your email>on the top navigation. In the drop down menu, click your current organization.
Scroll down to the bottom of the page and locate
Security Settingsand select
Copy Credentialsas shown below.
Use this templateat the top of the GitHub Repository:
Enter a repository name and click 'Create repository from template':