cassandra-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Ben Slater (JIRA)" <j...@apache.org>
Subject [jira] [Comment Edited] (CASSANDRA-8780) cassandra-stress should support multiple table operations
Date Tue, 06 Sep 2016 22:02:20 GMT

    [ https://issues.apache.org/jira/browse/CASSANDRA-8780?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=15463920#comment-15463920
] 

Ben Slater edited comment on CASSANDRA-8780 at 9/6/16 10:02 PM:
----------------------------------------------------------------

I've attached a patch that implements this.

Key points:
- existing command lines, spec files, etc should work unchanged
- to test multiple files:
  - put a comma separated list of files names for spec= (eg spec=file1.txt,file2.txt)
  - when specifying operations, qualify with keyspace and table name (eg ops(stressexample.eventsrawtest.insert=1,stressexample.eventsrawtest2.insert=1,stressexample.eventsrawtest2.get-a-value=1,stressexample.eventsrawtest2.pull-for-rollup=1)
)
- I looked at doing unit tests but couldn't really see a way of testing without building framework
for a whole lot of existing functionality

I've tested a few different scenarios on files I had lying around and all seems to work.


was (Author: slater_ben):
I've attached a patch that implements this.

Key points:
- existing command lines, spec files, etc should work unchanged
- to test multiple files:
  - put a comma separated list of files names for spec= (eg spec=file1.txt,spec=file2.txt)
  - when specifying operations, qualify with keyspace and table name (eg ops(stressexample.eventsrawtest.insert=1,stressexample.eventsrawtest2.insert=1,stressexample.eventsrawtest2.get-a-value=1,stressexample.eventsrawtest2.pull-for-rollup=1)
)
- I looked at doing unit tests but couldn't really see a way of testing without building framework
for a whole lot of existing functionality

I've tested a few different scenarios on files I had lying around and all seems to work.

> cassandra-stress should support multiple table operations
> ---------------------------------------------------------
>
>                 Key: CASSANDRA-8780
>                 URL: https://issues.apache.org/jira/browse/CASSANDRA-8780
>             Project: Cassandra
>          Issue Type: Improvement
>          Components: Tools
>            Reporter: Benedict
>            Assignee: Ben Slater
>              Labels: stress
>             Fix For: 3.x
>
>         Attachments: 8780-trunk.patch
>
>




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

Mime
View raw message