cassandra-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Michael Shuler (JIRA)" <j...@apache.org>
Subject [jira] [Updated] (CASSANDRA-8299) cassandra-stress unique keys
Date Wed, 12 Nov 2014 20:21:41 GMT

     [ https://issues.apache.org/jira/browse/CASSANDRA-8299?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]

Michael Shuler updated CASSANDRA-8299:
--------------------------------------
    Assignee: Tyler Hobbs

> cassandra-stress unique keys
> ----------------------------
>
>                 Key: CASSANDRA-8299
>                 URL: https://issues.apache.org/jira/browse/CASSANDRA-8299
>             Project: Cassandra
>          Issue Type: Bug
>          Components: Tools
>         Environment: Centos 6.5 Cassandra version 2.1.1
>            Reporter: Edgardo Vega
>            Assignee: Tyler Hobbs
>
> In the old stress tool you could use -n 10000 and get 10000 unique keys in the keyspace.

> In the new stress tool there doesn't seem to be a way to do this. For example if I have
the following definition:
> table_definition: |
>   CREATE TABLE table(
>         key uuid PRIMARY KEY,
>         col1 text,
>         col2 text,
>         col3 text
>   ) WITH comment='A table'
> ### Column Distribution Specifications ###
> columnspec:
>   - name: key
>     size: fixed(36)       
>     population: uniform(1..100B)   
>   - name: col1
>     size: fixed(100)
>   - name: col2
>     size: fixed(100)
>   - name: col3
>     size: fixed(100)
> and then run 
> cassandra-stress user n=10000 profile=stress.yaml ops\(insert=1\)
> If you look at the keyspace was only 59000 keys. The new tool needs to be able to generated
unique ids. In our tested we want to see how the number of keys effects the cluster when doing
queries.



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)

Mime
View raw message