incubator-cassandra-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Robert Coli <rc...@eventbrite.com>
Subject Re: moving all data to new cluster ?
Date Wed, 04 Sep 2013 20:38:41 GMT
On Wed, Sep 4, 2013 at 1:01 PM, Langston, Jim <Jim.Langston@compuware.com>wrote:

>  Thanks for the link Rob, but I did try earlier to
> copy the SSTables over and then to refresh them,
> but this is a brand new cluster and the error I got
> back indicated that the keyspace didn't exist, and
> then figured I needed to copy everything over in
> the data directory.
>

Just dump the schema from the old cluster and then load it on the new
cluster.

1) cassandra-cli "show schema"
2) create CFs one at a time (waiting in between for schema agreement)
3) nodetool refresh

=Rob

Mime
View raw message