incubator-cassandra-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Andrew Bruno <andrew.br...@gmail.com>
Subject Can a column index be renamed in Cassandra 1.2.13
Date Sun, 06 Apr 2014 07:48:56 GMT
Hi all,

We recently went through an upgrade from 0.7.0 to 1.2.13

Everything went well, except for one issue.

We have multiple column families for one keyspace.

Across these CFs there is one column that has the same index key.

The issue is that the index areaManagerId_idx is unique per CF, but
duplicated in the keyspace.

This is no longer supported in Cassandra/Thrift, and we get the Duplicate
Exception.

In sales_CF

Column Name: areaManagerId (617265614d616e616765724964)
          Validation Class: org.apache.cassandra.db.marshal.BytesType
          Index Name: areaManagerId_idx
          Index Type: KEYS

In financial_CF

Column Name: areaManagerId (617265614d616e616765724964)
          Validation Class: org.apache.cassandra.db.marshal.BytesType
          Index Name: areaManagerId_idx
          Index Type: KEYS

In property_CF

Column Name: areaManagerId (617265614d616e616765724964)
          Validation Class: org.apache.cassandra.db.marshal.BytesType
          Index Name: areaManagerId_idx
          Index Type: KEYS

Does anyone know if there is a way around this?

How can I rename the "areaManagerId_idx" index for a particular column
family?

Regards
Andrew

Mime
View raw message