cassandra-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Roland Gude <roland.g...@yoochoose.com>
Subject AW: rename index
Date Thu, 17 Feb 2011 09:21:07 GMT
Thanks,
Up to now i could not see any problems with the index names
For now I will not touch it. If I encounter something I’ll let you know

Von: Aaron Morton [mailto:aaron@thelastpickle.com]
Gesendet: Mittwoch, 16. Februar 2011 21:00
An: user@cassandra.apache.org
Betreff: Re: rename index

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<mailto: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<mailto:roland.gude@yoochoose.com>
WWW: www.yoochoose.com<http://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