cassandra-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Aaron Morton <>
Subject Re: Schema Questions?
Date Tue, 28 Sep 2010 20:55:48 GMT
There is a system_update_column_family(CDef) function on the trunk, so it will be in 0.7-beta2.
Take a look at the interface/cassandra.thrift .


On 29 Sep, 2010,at 09:31 AM, Frank LoVecchio <> wrote:

I understand adding column family configuration fields using thrift in Pelops for system_add_column_family,
and even renaming column families, but what about modifying the actual column family configuration
values, e.g. read_repair_chance: 1.0 to read_repair_chance: .5 (as a poor example)?

On Tue, Sep 28, 2010 at 1:17 PM, Peter Schuller <> wrote:
> Question regarding schema set-up and modification:  I just set up the newest
> nightly build of 0.7, imported our .yaml file after starting Cassandra, and
> everything is honky-dorey.  We're not sure if Pelops is capable of modifying
> shema definitions, but it doesn't appear any changes we make to the .yaml
> file after the initial import go through (re-importing using schematool
> doesn't work).

Expected in 0.7 where the configuration file is essentially just an example:

> How could I change, for example, the rows_cached or name
> fields below on the fly without losing data?  Is this possible?

Check out the system_* methods at the bottom of
interface/cassandra.thrift. I believe these are in working order for

/ Peter Schuller

  • Unnamed multipart/alternative (inline, None, 0 bytes)
    • Unnamed multipart/related (inline, None, 0 bytes)
View raw message