incubator-cassandra-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Shubham Srivastava <Shubham.Srivast...@makemytrip.com>
Subject RE: Taking a Cluster Wide Snapshot
Date Fri, 27 Apr 2012 05:38:29 GMT
Thanks a lot Rob. 

On another thought I could also try copying the data of my keyspace alone from one node to
another node in the new cluster (I have both the old and new clusters having same nodes DC1:6,DC2:6
with same tokens) with the same tokens.

Would there be any risk of the new cluster getting joined to the old cluster probably if the
data inside keyspace is aware of the original IP's etc. 

Is this recommended?

Regards,
Shubham
________________________________________
From: Rob Coli [rcoli@palominodb.com]
Sent: Thursday, April 26, 2012 11:42 PM
To: user@cassandra.apache.org
Subject: Re: Taking a Cluster Wide Snapshot

> I copied all the snapshots from each individual nodes where the snapshot
> data size was around 12Gb on each node to a common folder(one folder alone).
>
> Strangely I found duplicate file names in multiple snapshots and
> more strangely the data size was different of each duplicate file which lead
> to the total data size to close to 13Gb(else have to be overwritten) where
> as the expectation was 12*6 = 72Gb.

You have detected via experimentation that the namespacing of sstable
filenames per CF per node is not unique. In order to do the operation
you are doing, you have to rename them to be globally unique. Just
inflate the integer part is the easiest way.

https://issues.apache.org/jira/browse/CASSANDRA-1983

=Rob

--
=Robert Coli
AIM&GTALK - rcoli@palominodb.com
YAHOO - rcoli.palominob
SKYPE - rcoli_palominodb

Mime
View raw message