incubator-cassandra-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Robert Coli <>
Subject Re: How to create multiple column families using some script?
Date Thu, 26 Sep 2013 20:38:12 GMT
On Thu, Sep 26, 2013 at 1:18 PM, Raihan Jamal <> wrote:

> I have to create Multiple Column Families in my keyspace. One way is to
> create the column families one by one.. But in my case, I have around 100
> column families so I cannot do it one by one... So is there any way, I can
> create multiple column families through some sort of script which can
> create multiple column families for me in one short?

Historically, any sequence of operations other than :

1) modify schema
2) wait for schema agreement from all N nodes
3) modify schema again

Creates a non-zero chance of schema desynch. The rewrite of schema in 1.1
era supposedly eliminates this chance, but it is still safest to do the

If you are going to programatically create and delete keyspaces, be aware
of :


View raw message