incubator-cassandra-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Ross Black <ross.w.bl...@gmail.com>
Subject copy data from multi-node cluster to single node
Date Mon, 04 Jul 2011 15:05:24 GMT
Hi,

I am using Cassandra 0.7.5 on Linux machines.

I am trying to backup data from a multi-node cluster (3 nodes) and restore
it into a single node cluster that has a different name (for development
testing).

The multi-node cluster is backed up using clustertool global_snapshot, and
then I copy the snapshot from a single node and replace the data directory
in the single node.
The multi-node cluster has a replication factor of 3, so I assume that
restoring any node from the multi-node cluster will be the same.
When started up this fails with a node name mismatch.

I have tried removing all the Location* files in the data directory (as per
http://wiki.apache.org/cassandra/FAQ#clustername_mismatch) but the single
node then fails with an error message:
org.apache.cassandra.config.ConfigurationException: Found system table
files, but they couldn't be loaded. Did you change the partitioner?


How do you change the name of a cluster?  The FAQ instructions do not seem
to work for me - are they still valid for 0.7.5?
Is the backup / restore mechanism going to work, or is there a
better/simpler to copy data from multi-node to single-node?

Thanks,
Ross

Mime
View raw message