You are viewing a plain text version of this content. The canonical link for it is here.
Posted to user@cassandra.apache.org by eugene miretsky <eu...@gmail.com> on 2017/04/13 14:26:25 UTC

How to stress test collections in Cassandra Stress

Hi,

I'm trying to do a stress test on a a table with a collection column, but
cannot figure out how to do that.

I tried

table_definition: |
  CREATE TABLE list (
    customer_id bigint,
    items list<double>,
    PRIMARY KEY (customer_id));

columnspec:
  - name: customer_id
    size: fixed(64)
    population: norm(0..40M)
  - name: items
    cluster: fixed(40)

When running the benchmark, I get: java.io.IOException: Operation x10 on
key(s) [27056313]: Error executing: (NoSuchElementException)

Re: How to stress test collections in Cassandra Stress

Posted by Alain RODRIGUEZ <ar...@gmail.com>.
Hi 'luckiboy'.

You have been trying to unsubscribe from Cassandra dev and user list lately.

To do so, sending "unsubscribe" in a message is not the way to go as you
probably noticed by now. It just spam people on those lists.

As written here http://cassandra.apache.org/community/, you actually have
to send an email to both user-unsubscribe@cassandra.apache.org and
dev-unsubscribe@cassandra.apache.org.

Cheers,
-----------------------
Alain Rodriguez - @arodream - alain@thelastpickle.com
France

The Last Pickle - Apache Cassandra Consulting
http://www.thelastpickle.com

2017-04-24 15:08 GMT+02:00 LuckyBoy <lu...@gmail.com>:

> unsubscribe
>
> On Thu, Apr 13, 2017 at 7:26 AM, eugene miretsky <
> eugene.miretsky@gmail.com> wrote:
>
>> Hi,
>>
>> I'm trying to do a stress test on a a table with a collection column, but
>> cannot figure out how to do that.
>>
>> I tried
>>
>> table_definition: |
>>   CREATE TABLE list (
>>     customer_id bigint,
>>     items list<double>,
>>     PRIMARY KEY (customer_id));
>>
>> columnspec:
>>   - name: customer_id
>>     size: fixed(64)
>>     population: norm(0..40M)
>>   - name: items
>>     cluster: fixed(40)
>>
>> When running the benchmark, I get: java.io.IOException: Operation x10 on
>> key(s) [27056313]: Error executing: (NoSuchElementException)
>>
>>
>>
>

Re: How to stress test collections in Cassandra Stress

Posted by LuckyBoy <lu...@gmail.com>.
unsubscribe

On Thu, Apr 13, 2017 at 7:26 AM, eugene miretsky <eu...@gmail.com>
wrote:

> Hi,
>
> I'm trying to do a stress test on a a table with a collection column, but
> cannot figure out how to do that.
>
> I tried
>
> table_definition: |
>   CREATE TABLE list (
>     customer_id bigint,
>     items list<double>,
>     PRIMARY KEY (customer_id));
>
> columnspec:
>   - name: customer_id
>     size: fixed(64)
>     population: norm(0..40M)
>   - name: items
>     cluster: fixed(40)
>
> When running the benchmark, I get: java.io.IOException: Operation x10 on
> key(s) [27056313]: Error executing: (NoSuchElementException)
>
>
>

Re: How to stress test collections in Cassandra Stress

Posted by Ahmed Eljami <ah...@gmail.com>.
Hi,

Collections are not supported in cassandra-stress tool.


I suggest you use Jmeter with cassandra java driver to do your stress test
with collection or Spark.


2017-04-13 16:26 GMT+02:00 eugene miretsky <eu...@gmail.com>:

> Hi,
>
> I'm trying to do a stress test on a a table with a collection column, but
> cannot figure out how to do that.
>
> I tried
>
> table_definition: |
>   CREATE TABLE list (
>     customer_id bigint,
>     items list<double>,
>     PRIMARY KEY (customer_id));
>
> columnspec:
>   - name: customer_id
>     size: fixed(64)
>     population: norm(0..40M)
>   - name: items
>     cluster: fixed(40)
>
> When running the benchmark, I get: java.io.IOException: Operation x10 on
> key(s) [27056313]: Error executing: (NoSuchElementException)
>
>
>


-- 
Cordialement;

Ahmed ELJAMI