Ok the '--' was the problem ........... LOL 2012/6/26 Juan Ezquerro <j...@sofistic.net>
> 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 > > -- Juan Ezquerro LLanes <Sofistic Team> Telf: 618349107/964051479