Reputation: 141
I have a cassandra cluster(four nodes) on four machines with data size of 745.54 GiB ,670.79 GiB ,695.65 GiB ,634.43 GiB of each node.I need to migrate all the data to single machine with single node .I have all keyspaces with replication factor of 3 and i need to change the replication factor as 1.I didn't find any solution anywhere, Somebody tell me how to migrate this cluster to single machine.
Upvotes: 0
Views: 104
Reputation: 2104
You need to take a snapshot:
https://docs.datastax.com/en/cassandra/3.0/cassandra/tools/toolsSnapShot.html
For example a single table snapshot:
nodetool snapshot --table cyclist_name cycling
The restore process is documented here: https://docs.datastax.com/en/cassandra/3.0/cassandra/operations/opsBackupSnapshotRestore.html
Upvotes: 1