http://wiki.apache.org/cassandra/DistributedDeletes

>From the http://wiki.apache.org/cassandra/StorageConfiguration page:

> Achtung! Changing this parameter requires wiping your data directories,
> since the partitioner can modify the !sstable on-disk format.


So delete your data and commit log dirs after shutting down Cassandra...

On Tue, Oct 19, 2010 at 4:09 PM, Wicked J <wickedj2...@gmail.com> wrote:

> Hi,
> I deleted all the data (programmatically). Then I changed the partitioner
> from RandomPartitioner to OrderPreservingPartitioner and when I started
> Cassandra - I get the following error. What is the correct way of changing
> the partitioner and how can I get past this error?
>
> ERROR 17:28:28,985 Fatal exception during initialization
> java.io.IOException: Found system table files, but they couldn't be loaded.
> Did you change the partitioner?
>         at
> org.apache.cassandra.db.SystemTable.checkHealth(SystemTable.java:154)
>         at
> org.apache.cassandra.thrift.CassandraDaemon.setup(CassandraDaemon.java:94)
>         at
> org.apache.cassandra.thrift.CassandraDaemon.main(CassandraDaemon.java:211)
>
> Thanks!

Reply via email to