cassandra-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Jonathan Ellis <jbel...@gmail.com>
Subject Re: Migrating a column family from one cluster to another
Date Sat, 19 May 2012 17:12:25 GMT
Better: use bin/sstableloader, which will copy exactly the right
ranges of data to the new cluster.

On Fri, May 18, 2012 at 3:39 PM, Rob Coli <rcoli@palominodb.com> wrote:
> On Thu, May 17, 2012 at 9:37 AM, Bryan Fernandez <bfernandezsa@gmail.com> wrote:
>> What would be the recommended
>> approach to migrating a few column families from a six node cluster to a
>> three node cluster?
>
> The easiest way (if you are not using counters) is :
>
> 1) make sure all filenames of sstables are unique [1]
> 2) copy all sstablefiles from the 6 nodes to all 3 nodes
> 3) run a "cleanup" compaction on the 3 nodes
>
> =Rob
> [1] https://issues.apache.org/jira/browse/CASSANDRA-1983
>
> --
> =Robert Coli
> AIM&GTALK - rcoli@palominodb.com
> YAHOO - rcoli.palominob
> SKYPE - rcoli_palominodb



-- 
Jonathan Ellis
Project Chair, Apache Cassandra
co-founder of DataStax, the source for professional Cassandra support
http://www.datastax.com

Mime
View raw message