[
https://issues.apache.org/jira/browse/CASSANDRA-9522?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=14608766#comment-14608766
]
Jim Witschey commented on CASSANDRA-9522:
-----------------------------------------
What distributions can you specify via the command line? {{FIXED}} works, but
{{UNIFORM}} doesn't:
{code}
$ ./tools/bin/cassandra-stress write n=1000 -rate threads=50 -col n=FIXED\(50\)
-insert row-population-ratio=uniform\(5..10\)
Invalid parameter row-population-ratio=uniform(5..10)
$ ./tools/bin/cassandra-stress write n=1000 -rate threads=50 -col n=FIXED\(50\)
-insert row-population-ratio=fixed\(1\)/2
# expected stress output
{code}
I haven't tried specifying via a yaml file.
> 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)