Search code examples
cassandrarenamecql3

rename keyspace and columnfamily in cassandra 1.2


How to rename keyspace and columnfamily in cassandra 1.2? I know that cassandra-cli rename api is no longer supported - How to rename keyspace in Cassandra. Maybe there are some api in CQL3? Or some api for creating new columnfamily and coping all data from old to new columnfamily?


Solution

  • Renaming is disabled internally, not just within the thrift API. So there isn't a CQL command to do it either.

    However, there is a manual process which is described here:

    https://issues.apache.org/jira/browse/CASSANDRA-1585