You are viewing a plain text version of this content. The canonical link for it is here.
Posted to user@cassandra.apache.org by Jean Carlo <je...@gmail.com> on 2016/03/08 13:39:34 UTC

Cassandra-stress output

Hi guys,

I use cassandra stress to populate the next table

CREATE TABLE cf1 (
    kvalue text,
    ktype text,
    prov text,
    dname text,
    dattrib blob,
    dvalue text,
    PRIMARY KEY (kvalue, ktype, prov, dname)
  ) WITH bloom_filter_fp_chance = 0.01
 AND caching = '{"keys":"ALL", "rows_per_partition":"60"}'
    AND comment = ''
    AND compaction = {'class':
'org.apache.cassandra.db.compaction.LeveledCompactionStrategy'}
    AND compression = {'sstable_compression':
'org.apache.cassandra.io.compress.SnappyCompressor'}
    AND dclocal_read_repair_chance = 0.02
    AND default_time_to_live = 0
    AND gc_grace_seconds = 864000
    AND max_index_interval = 2048
    AND memtable_flush_period_in_ms = 0
    AND min_index_interval = 128
    AND read_repair_chance = 0.01
    AND speculative_retry = '99.0PERCENTILE';

And cassandra stress create the next string to the field kvalue of type
text:

"P*d,xY\x03m\x1b\x10\x0b$\x04pt-G\x08\n`7\x1fs\x15kH\x02i1\x16jf%YM"

what bothers me is that kvalue has control characters like \x03. do you
guys know any way to avoid creating this kind of characters while using
cassandra-stress?



Thank you very much

Jean Carlo

"The best way to predict the future is to invent it" Alan Kay