incubator-cassandra-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Michael Vaknine" <micha...@citypath.com>
Subject RE: Schematool
Date Thu, 08 Dec 2011 10:15:15 GMT
Thank you Alain.

 

michael

 

From: Alain RODRIGUEZ [mailto:arodrime@gmail.com] 
Sent: Thursday, December 08, 2011 11:52 AM
To: user@cassandra.apache.org
Subject: Re: Schematool

 

You should be able to use the CLI "show schema yourkeyspace" if your
cassandra is recent enough ( >= 0.8 if I remember well. I think it is better
if you are in 0.8.7 because this command was fixed a couple of times in 8.6
and 8.7).

 

You can put the "show schema" command into a file and call it with :
"cassandra-cli -h yourhost -f yourfile > 20111208schema" then open your
output file and remove the 2 or 3 useless lines that are written before
"create yourkeyspace".

 

Hope this will be helpful.

 

Alain

 

2011/12/8 Michael Vaknine <michaelv@citypath.com>

Hi,

Since schematool has been removed from Cassandra is there a way to extract
the schema from a working cluster in order to create a new empty cluster?

Thanks
Michael



 


Mime
View raw message