Reputation: 3242
I need to migrate some data in Cassandra 1.2.1 because we encountered a pretty bad bug. I want to move it to a 1.1.9 cluster that we know is pretty stable, but I can't get any of the export methods to work. I finally tried sstable2json and json2sstable, but now it looks like the json coming out of 1.2.x is different than the one coming out of 1.1.x
Upvotes: 3
Views: 244
Reputation: 19377
The link Lyuben gives is useful, but for large data sets you'd want to use the sstable loader rather than COPY TO / COPY FROM. The latter is not parallelized and limited to the local disk space available.
Upvotes: 3
Reputation: 14153
You could export the required data as a SSTable
(Data structure used by Cassandra to store it's data) and then re-import it into Cassandra 1.1. You can read about the process from the Datastax documentation. The documentation includes examples at the bottom of the page.
Upvotes: 1