cassandra-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From aaron morton <aa...@thelastpickle.com>
Subject Re: Schema clone ...
Date Mon, 09 Jan 2012 10:45:45 GMT
ah, sorry brain not good work. 

It's only in 0.8. 

You could either:

*  write the CLI script by hand
or
* Grab the system sstables from one of the 0.7 nodes and spin up a temp 1.0 machine them,
then use the command. 
or
* See if your cassandra client software can help. 


Hope that helps. 

-----------------
Aaron Morton
Freelance Developer
@aaronmorton
http://www.thelastpickle.com

On 9/01/2012, at 11:41 PM, cbertu81@libero.it wrote:

> I was just trying it but ... in 0.7 CLI there is no show schema command.
> When I connect with 1.0 CLI to my 0.7 cluster ...
> 
> [default@social] show schema;
> null
> 
> 
> 
> I always get a "null" as answer! :-|
> Any tip for this?
> 
> ty, Cheers 
> 
> Carlo
> 
> ----Messaggio originale----
> Da: aaron@thelastpickle.com
> Data: 09/01/2012 11.33
> A: <user@cassandra.apache.org>, "cbertu81@libero.it"<cbertu81@libero.it>
> Ogg: Re: Schema clone ...
> 
> Try show schema in the CLI. 
> 
> Cheers
> 
> -----------------
> Aaron Morton
> Freelance Developer
> @aaronmorton
> http://www.thelastpickle.com
> 
> On 9/01/2012, at 11:12 PM, cbertu81@libero.it wrote:
> 
>> Hi,
>> I have create a new dev-cluster with cassandra 1.0 -- I would like to have the 
>> same CFs that I have in the 0.7 one but I don't need data to be there, just the 
>> schema. Which is the fastest way to do it without making 30 "create column 
>> family ..." 
>> 
>> Best regards,
>> 
>> Carlo
>> 
>> 
> 
> 
> 
>  


Mime
View raw message