You are viewing a plain text version of this content. The canonical link for it is here.
Posted to user@cassandra.apache.org by Kanwar Sangha <ka...@mavenir.com> on 2013/02/11 21:31:10 UTC

Cassandra becnhmark

Hi - I am trying to do benchmark using the Cassandra-stress tool. They have given an example to insert data across 2 nodes -


/tools/stress/bin/stress -d 192.168.1.101,192.168.1.102 -n 10000000
But when I run this across my 2 node cluster, I see the same keys in both nodes. Replication is not enabled. Should it not have unique keys in both nodes ?

Thanks,
Kanwar




Re: Cassandra becnhmark

Posted by aaron morton <aa...@thelastpickle.com>.
>  I see the same keys in both nodes. Replication is not enabled. 
Why do you say that ? 

Check the schema for Keyspace1 using the cassandra-cli. 

Cheers

-----------------
Aaron Morton
Freelance Cassandra Developer
New Zealand

@aaronmorton
http://www.thelastpickle.com

On 12/02/2013, at 9:31 AM, Kanwar Sangha <ka...@mavenir.com> wrote:

> Hi – I am trying to do benchmark using the Cassandra-stress tool. They have given an example to insert data across 2 nodes –
>  
> /tools/stress/bin/stress -d 192.168.1.101,192.168.1.102 -n 10000000
> 
> But when I run this across my 2 node cluster, I see the same keys in both nodes. Replication is not enabled. Should it not have unique keys in both nodes ?
>  
> Thanks,
> Kanwar
>  
>  
>