cassandra-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Langston, Jim" <>
Subject Re: alter column family ?
Date Tue, 09 Jul 2013 17:34:30 GMT
I'm on version 1.1.2

The nodetool command by itself

# nodetool netstats -h localhost
Not sending any streams.
Not receiving any streams.
Pool Name                    Active   Pending      Completed
Commands                        n/a         0           5909
Responses                       n/a         0           1203


From: Robert Coli <<>>
Reply-To: <<>>
Date: Tue, 9 Jul 2013 10:26:45 -0700
To: "<>" <<>>
Subject: Re: alter column family ?

On Tue, Jul 9, 2013 at 10:08 AM, Langston, Jim <<>>
I am trying to alter a column family to change gc_grace_seconds, and now,
any of the properties

The sequence:

use ks ;
alter table CF with gc_grace_seconds=864000 ;

When listing the CF, gc_grace_seconds is set to 0, after
running the CLI, gc_grace_seconds is still set to 0.

I tried change the comment property, but this did not
change either.

Using the same keyspace, I created another table
and executed both the gc_grace_seconds change and
the comments change. Both of these successfully changed.

I'm surprised to hear that other columnfamilies work in the same keyspace. In general when
people end up in this case, no schema migrations work.

If you do :

nodetool -h localhost netstats |grep SCHEMA |sort | uniq -c | sort -n

Do you see that all nodes in the cluster have the same schema version?

What version of Cassandra?


View raw message