You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@cassandra.apache.org by "Ben Slater (JIRA)" <ji...@apache.org> on 2016/09/05 04:39:21 UTC

[jira] [Comment Edited] (CASSANDRA-8780) cassandra-stress should support multiple table operations

    [ 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/5/16 4:38 AM:
---------------------------------------------------------------

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.


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'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)