incubator-cassandra-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Juan Ezquerro <j...@sofistic.net>
Subject Create column family fail
Date Tue, 26 Jun 2012 10:33:18 GMT
Hi,

I create this column family:


CREATE COLUMN FAMILY Clients
    WITH column_type='Super'
    AND key_validation_class = LongType -- master_id
    AND comparator = LongType -- client_id
    AND subcomparator = UTF8Type
    AND column_metadata = [
    {column_name: client_name, validation_class: UTF8Type}
    ];

But column metadata is not saved, as you can see with cassandra-cli:


create column family Clients
  with column_type = 'Super'
  and comparator = 'BytesType'
  and subcomparator = 'BytesType'
  and default_validation_class = 'BytesType'
  and key_validation_class = 'LongType'
  and read_repair_chance = 0.1
  and dclocal_read_repair_chance = 0.0
  and gc_grace = 864000
  and min_compaction_threshold = 4
  and max_compaction_threshold = 32
  and replicate_on_write = true
  and compaction_strategy =
'org.apache.cassandra.db.compaction.SizeTieredCompactionStrategy'
  and caching = 'KEYS_ONLY'
  and compression_options = {'sstable_compression' :
'org.apache.cassandra.io.compress.SnappyCompressor'}

Only happend with that column family and i don't know why. Comparator and
subcomparator look bad too.

Can help please?

-- 
Juan Ezquerro LLanes <Sofistic Team>

Telf: 618349107/964051479

Mime
View raw message