cassandra-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Jim Newsham <jnews...@referentia.com>
Subject Re: rename column family
Date Tue, 03 Jan 2012 23:31:47 GMT

Thanks that's very helpful.  I'm assuming there's no requirement to stop 
or restart Cassandra?

Thanks,
Jim

On 1/2/2012 12:07 AM, aaron morton wrote:
> Renaming a CF is not directly supported.
>
> You can:
> 1) Add the new CF using the CLI or CQL
> 2) On each node copy the SSTable files and use the new CF name.
> 3) Drop the old CF using the CLI or CQL
> 4) The Drop CF command will create a snapshot, you may want to delete 
> this.
>
> Hope that helps.
>
> -----------------
> Aaron Morton
> Freelance Developer
> @aaronmorton
> http://www.thelastpickle.com
>
> On 31/12/2011, at 8:42 AM, Jim Newsham wrote:
>
>>
>> How can I rename a column family (if version matters, I'm interested 
>> in both 0.8.x and 1.0.x).
>>
>> Thanks,
>> Jim
>>
>


Mime
View raw message