incubator-cassandra-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Aaron Morton <aa...@thelastpickle.com>
Subject Re: rename index
Date Wed, 16 Feb 2011 20:00:10 GMT
There is no rename, but update column family though the cli or api with just the renamed index
should work.

The code says it will remove old and add new indexes based on their name.

I'm not sure if the name is used for anything other than identifying the index inside the
CF. Are the duplicate names causing a problem?

Aaron

On 17/02/2011, at 6:15 AM, Roland Gude <roland.gude@yoochoose.com> wrote:

> Hi,
> 
> unfortiunately i made a copy paste error and created two indexes called “myindex”
on different columnfamilies.
> 
> What can I do to fix this?
> 
>  
> 
> Below the output from describe keyspace
> 
>  
> 
>     ColumnFamily: A
> 
>       Columns sorted by: org.apache.cassandra.db.marshal.TimeUUIDType
> 
>       Row cache size / save period: 0.0/0
> 
>       Key cache size / save period: 200000.0/14400
> 
>      Memtable thresholds: 1.1203125/239/60
> 
>       GC grace seconds: 864000
> 
>       Compaction min/max thresholds: 4/32
> 
>       Read repair chance: 1.0
> 
>       Column Metadata:
> 
>         Column Name: 00000000-0000-1000-0000-000000000000
> 
>           Validation Class: org.apache.cassandra.db.marshal.UTF8Type
> 
>           Index Name: MyIndex
> 
>           Index Type: KEYS
> 
>     ColumnFamily: B
> 
>       Columns sorted by: org.apache.cassandra.db.marshal.TimeUUIDType
> 
>       Row cache size / save period: 0.0/0
> 
>       Key cache size / save period: 200000.0/14400
> 
>       Memtable thresholds: 1.1203125/239/60
> 
>       GC grace seconds: 864000
> 
>       Compaction min/max thresholds: 4/32
> 
>       Read repair chance: 1.0
> 
>       Column Metadata:
> 
>         Column Name: 00000000-0000-1000-0000-000000000000
> 
>           Validation Class: org.apache.cassandra.db.marshal.UTF8Type
> 
>           Index Name: MyIndex
> 
>           Index Type: KEYS
> 
>  
> 
> --
> 
> YOOCHOOSE GmbH
> 
>  
> 
> Roland Gude
> 
> Software Engineer
> 
>  
> 
> Im Mediapark 8, 50670 Köln
> 
>  
> 
> +49 221 4544151 (Tel)
> 
> +49 221 4544159 (Fax)
> 
> +49 171 7894057 (Mobil)
> 
>  
> 
>  
> 
> Email: roland.gude@yoochoose.com
> 
> WWW: www.yoochoose.com
> 
>  
> 
> YOOCHOOSE GmbH
> 
> Geschäftsführer: Dr. Uwe Alkemper, Michael Friedmann
> 
> Handelsregister: Amtsgericht Köln HRB 65275
> 
> Ust-Ident-Nr: DE 264 773 520
> 
> Sitz der Gesellschaft: Köln
> 
>  

Mime
View raw message