[
https://issues.apache.org/jira/browse/CASSANDRA-9522?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=14606270#comment-14606270
]
T Jake Luciani commented on CASSANDRA-9522:
-------------------------------------------
Branch here: https://github.com/tjake/cassandra/tree/stress-9522
works with command line arg or yaml param.
Simple example that leaves 50% of the columns null
{code}
./tools/bin/cassandra-stress write n=1000 -rate threads=50 -col n=FIXED\(50\)
-insert row-population-ratio=fixed\(1\)/2
{code}
> Specify unset column ratios in cassandra-stress write
> -----------------------------------------------------
>
> Key: CASSANDRA-9522
> URL: https://issues.apache.org/jira/browse/CASSANDRA-9522
> Project: Cassandra
> Issue Type: Improvement
> Components: Tools
> Reporter: Jim Witschey
> Assignee: T Jake Luciani
> Fix For: 3.0 beta 1
>
>
> I'd like to be able to use stress to generate workloads with different
> distributions of unset columns -- so, for instance, you could specify that
> rows will have 70% unset columns, and on average, a 100-column row would
> contain only 30 values.
> This would help us test the new row formats introduced in 8099. There are a 2
> different row formats, used depending on the ratio of set to unset columns,
> and this feature would let us generate workloads that would be stored in each
> of those formats.
--
This message was sent by Atlassian JIRA
(v6.3.4#6332)