Re: Stress test using Java-based stress utility

2011-07-26 Thread Nilabja Banerjee
Thank you every one it is working fine.

I was watching jconsole behavior...can tell me where exactly I can
find   *RecentHitRates
:
*Tuning for Optimal Caching:
Here they have given one example of that  *
http://www.datastax.com/docs/0.8/operations/cache_tuning#configuring-key-and-row-caches
* *RecentHitRates...  *In my jconsole within MBean I am unable to find
that one.
what is the value of long[36] and long[90].  From Jconsole attributes
how can I find the  *performance of the casssandra while stress testing?
Thank You
***

On 26 July 2011 14:33, aaron morton aa...@thelastpickle.com wrote:

 It's in the source distribution under tools/stress see the instructions in
 the README file and then look at the command line help (bin/stress --help).

 Cheers

 -
 Aaron Morton
 Freelance Cassandra Developer
 @aaronmorton
 http://www.thelastpickle.com

 On 26 Jul 2011, at 19:40, CASSANDRA learner wrote:

 Hi,,
 I too wanna know what this stress tool do? What is the usage of this
 tool... Please explain

 On Fri, Jul 22, 2011 at 6:39 PM, Jonathan Ellis jbel...@gmail.com wrote:

 What does nodetool ring say?

 On Fri, Jul 22, 2011 at 12:43 AM, Nilabja Banerjee
 nilabja.baner...@gmail.com wrote:
  Hi All,
 
  I am following this following link 
  http://www.datastax.com/docs/0.7/utilities/stress_java  for a stress
 test.
  I am getting this notification after running this command
 
  xxx.xxx.xxx.xx= my ip
 
  contrib/stress/bin/stress -d xxx.xxx.xxx.xx
 
  Created keyspaces. Sleeping 1s for propagation.
  total,interval_op_rate,interval_key_rate,avg_latency,elapsed_time
  Operation [44] retried 10 times - error inserting key 044
  ((UnavailableException))
 
  Operation [49] retried 10 times - error inserting key 049
  ((UnavailableException))
 
  Operation [7] retried 10 times - error inserting key 007
  ((UnavailableException))
 
  Operation [6] retried 10 times - error inserting key 006
  ((UnavailableException))
 
  Any idea why I am getting these things?
 
  Thank You
 
 
 



 --
 Jonathan Ellis
 Project Chair, Apache Cassandra
 co-founder of DataStax, the source for professional Cassandra support
 http://www.datastax.com






Re: Stress test using Java-based stress utility

2011-07-26 Thread Jonathan Ellis
cassandra.db.Caches

On Tue, Jul 26, 2011 at 2:11 AM, Nilabja Banerjee
nilabja.baner...@gmail.com wrote:
 Thank you every one it is working fine.

 I was watching jconsole behavior...can tell me where exactly I can find 
 RecentHitRates :

 Tuning for Optimal Caching:

 Here they have given one example of that
 http://www.datastax.com/docs/0.8/operations/cache_tuning#configuring-key-and-row-caches
 RecentHitRates...  In my jconsole within MBean I am unable to find that
 one.
 what is the value of long[36] and long[90].  From Jconsole attributes
 how can I find the  performance of the casssandra while stress testing?
 Thank You


 On 26 July 2011 14:33, aaron morton aa...@thelastpickle.com wrote:

 It's in the source distribution under tools/stress see the instructions in
 the README file and then look at the command line help (bin/stress --help).
 Cheers
 -
 Aaron Morton
 Freelance Cassandra Developer
 @aaronmorton
 http://www.thelastpickle.com
 On 26 Jul 2011, at 19:40, CASSANDRA learner wrote:

 Hi,,
 I too wanna know what this stress tool do? What is the usage of this
 tool... Please explain

 On Fri, Jul 22, 2011 at 6:39 PM, Jonathan Ellis jbel...@gmail.com wrote:

 What does nodetool ring say?

 On Fri, Jul 22, 2011 at 12:43 AM, Nilabja Banerjee
 nilabja.baner...@gmail.com wrote:
  Hi All,
 
  I am following this following link 
  http://www.datastax.com/docs/0.7/utilities/stress_java  for a stress
  test.
  I am getting this notification after running this command
 
  xxx.xxx.xxx.xx= my ip
 
  contrib/stress/bin/stress -d xxx.xxx.xxx.xx
 
  Created keyspaces. Sleeping 1s for propagation.
  total,interval_op_rate,interval_key_rate,avg_latency,elapsed_time
  Operation [44] retried 10 times - error inserting key 044
  ((UnavailableException))
 
  Operation [49] retried 10 times - error inserting key 049
  ((UnavailableException))
 
  Operation [7] retried 10 times - error inserting key 007
  ((UnavailableException))
 
  Operation [6] retried 10 times - error inserting key 006
  ((UnavailableException))
 
  Any idea why I am getting these things?
 
  Thank You
 
 
 



 --
 Jonathan Ellis
 Project Chair, Apache Cassandra
 co-founder of DataStax, the source for professional Cassandra support
 http://www.datastax.com







-- 
Jonathan Ellis
Project Chair, Apache Cassandra
co-founder of DataStax, the source for professional Cassandra support
http://www.datastax.com


Re: Stress test using Java-based stress utility

2011-07-26 Thread Nilabja Banerjee
Thank you Jonathan.. :)




On 26 July 2011 20:08, Jonathan Ellis jbel...@gmail.com wrote:

 cassandra.db.Caches

 On Tue, Jul 26, 2011 at 2:11 AM, Nilabja Banerjee
 nilabja.baner...@gmail.com wrote:
  Thank you every one it is working fine.
 
  I was watching jconsole behavior...can tell me where exactly I can find 
  RecentHitRates :
 
  Tuning for Optimal Caching:
 
  Here they have given one example of that
 
 http://www.datastax.com/docs/0.8/operations/cache_tuning#configuring-key-and-row-caches
  RecentHitRates...  In my jconsole within MBean I am unable to find
 that
  one.
  what is the value of long[36] and long[90].  From Jconsole attributes
  how can I find the  performance of the casssandra while stress testing?
  Thank You
 
 
  On 26 July 2011 14:33, aaron morton aa...@thelastpickle.com wrote:
 
  It's in the source distribution under tools/stress see the instructions
 in
  the README file and then look at the command line help (bin/stress
 --help).
  Cheers
  -
  Aaron Morton
  Freelance Cassandra Developer
  @aaronmorton
  http://www.thelastpickle.com
  On 26 Jul 2011, at 19:40, CASSANDRA learner wrote:
 
  Hi,,
  I too wanna know what this stress tool do? What is the usage of this
  tool... Please explain
 
  On Fri, Jul 22, 2011 at 6:39 PM, Jonathan Ellis jbel...@gmail.com
 wrote:
 
  What does nodetool ring say?
 
  On Fri, Jul 22, 2011 at 12:43 AM, Nilabja Banerjee
  nilabja.baner...@gmail.com wrote:
   Hi All,
  
   I am following this following link 
   http://www.datastax.com/docs/0.7/utilities/stress_java  for a
 stress
   test.
   I am getting this notification after running this command
  
   xxx.xxx.xxx.xx= my ip
  
   contrib/stress/bin/stress -d xxx.xxx.xxx.xx
  
   Created keyspaces. Sleeping 1s for propagation.
   total,interval_op_rate,interval_key_rate,avg_latency,elapsed_time
   Operation [44] retried 10 times - error inserting key 044
   ((UnavailableException))
  
   Operation [49] retried 10 times - error inserting key 049
   ((UnavailableException))
  
   Operation [7] retried 10 times - error inserting key 007
   ((UnavailableException))
  
   Operation [6] retried 10 times - error inserting key 006
   ((UnavailableException))
  
   Any idea why I am getting these things?
  
   Thank You
  
  
  
 
 
 
  --
  Jonathan Ellis
  Project Chair, Apache Cassandra
  co-founder of DataStax, the source for professional Cassandra support
  http://www.datastax.com
 
 
 
 



 --
 Jonathan Ellis
 Project Chair, Apache Cassandra
 co-founder of DataStax, the source for professional Cassandra support
 http://www.datastax.com



Re: Stress test using Java-based stress utility

2011-07-22 Thread Kirk True

  
  
Have you checked the logs on the nodes to see if there are any
errors?

On 7/21/11 10:43 PM, Nilabja Banerjee wrote:
Hi All,
  
  I am following this following link " http://www.datastax.com/docs/0.7/utilities/stress_java
  " for a stress test. I am getting this notification after
  running this command 
  
  xxx.xxx.xxx.xx= my ip
  contrib/stress/bin/stress
-d xxx.xxx.xxx.xx
  Created keyspaces. Sleeping 1s
for propagation.
total,interval_op_rate,interval_key_rate,avg_latency,elapsed_time
Operation [44] retried 10 times - error inserting key
044 ((UnavailableException))

Operation [49] retried 10 times - error inserting key
049 ((UnavailableException))

Operation [7] retried 10 times - error inserting key 007
((UnavailableException))

Operation [6] retried 10 times - error inserting key 006
((UnavailableException))
  
  
  
  Any idea why I am getting these
things?
  
  
  Thank You
  
  
  
  



-- 
  Kirk True
  
  Founder, Principal Engineer
  
  
  
  
  
  Expert Engineering Firepower
  
  
  About us: 
  

  



Re: Stress test using Java-based stress utility

2011-07-22 Thread aaron morton
UnavailableException is raised server side when there is less than CL nodes UP 
when the request starts. 

It seems odd to get it in this case because the default replication factor used 
by stress test is 1. How many nodes do you have and have you made any changes 
to the RF ?

Also check the server side logs as Kirk says. 

Cheers

-
Aaron Morton
Freelance Cassandra Developer
@aaronmorton
http://www.thelastpickle.com

On 22 Jul 2011, at 18:37, Kirk True wrote:

 Have you checked the logs on the nodes to see if there are any errors?
 
 On 7/21/11 10:43 PM, Nilabja Banerjee wrote:
 
 Hi All,
 
 I am following this following link  
 http://www.datastax.com/docs/0.7/utilities/stress_java  for a stress test. 
 I am getting this notification after running this command 
 
 xxx.xxx.xxx.xx= my ip
 contrib/stress/bin/stress -d xxx.xxx.xxx.xx
 
 Created keyspaces. Sleeping 1s for propagation.
 total,interval_op_rate,interval_key_rate,avg_latency,elapsed_time
 Operation [44] retried 10 times - error inserting key 044 
 ((UnavailableException))
 
 Operation [49] retried 10 times - error inserting key 049 
 ((UnavailableException))
 
 Operation [7] retried 10 times - error inserting key 007 
 ((UnavailableException))
 
 Operation [6] retried 10 times - error inserting key 006 
 ((UnavailableException))
 
 
 Any idea why I am getting these things?
 
 
 Thank You
 
 
 
 
 
 -- 
 Kirk True 
 Founder, Principal Engineer 
 
 mustardgrain.gif 
 
 Expert Engineering Firepower 
 
 About us: twitter.gif linkedin.gif



Re: Stress test using Java-based stress utility

2011-07-22 Thread Nilabja Banerjee
Running only one node. I dnt think it is coming for the replication
factor...  I will try to sort this out Any other suggestions from your
side is always be helpful..

:) Thank you



On 22 July 2011 14:36, aaron morton aa...@thelastpickle.com wrote:

 UnavailableException is raised server side when there is less than CL nodes
 UP when the request starts.

 It seems odd to get it in this case because the default replication factor
 used by stress test is 1. How many nodes do you have and have you made any
 changes to the RF ?

 Also check the server side logs as Kirk says.

 Cheers

 -
 Aaron Morton
 Freelance Cassandra Developer
 @aaronmorton
 http://www.thelastpickle.com

 On 22 Jul 2011, at 18:37, Kirk True wrote:

  Have you checked the logs on the nodes to see if there are any errors?

 On 7/21/11 10:43 PM, Nilabja Banerjee wrote:

 Hi All,

 I am following this following link  *
 http://www.datastax.com/docs/0.7/utilities/stress_java * for a stress
 test. I am getting this notification after running this command

 *xxx.xxx.xxx.xx= my ip*

 *contrib/stress/bin/stress -d xxx.xxx.xxx.xx*

 *Created keyspaces. Sleeping 1s for propagation.
 total,interval_op_rate,interval_key_rate,avg_latency,elapsed_time
 Operation [44] retried 10 times - error inserting key 044
 ((UnavailableException))

 Operation [49] retried 10 times - error inserting key 049
 ((UnavailableException))

 Operation [7] retried 10 times - error inserting key 007
 ((UnavailableException))

 Operation [6] retried 10 times - error inserting key 006
 ((UnavailableException))
 *


 *Any idea why I am getting these things?*


 *Thank You
 *


 *
 *


 --
 Kirk True
 Founder, Principal Engineer

 mustardgrain.gif http://www.mustardgrain.com/

 *Expert Engineering Firepower*

 About us: twitter.gif http://www.twitter.com/mustardgraininc
 linkedin.gif http://www.linkedin.com/company/mustard-grain-inc.





Re: Stress test using Java-based stress utility

2011-07-22 Thread Jonathan Ellis
What does nodetool ring say?

On Fri, Jul 22, 2011 at 12:43 AM, Nilabja Banerjee
nilabja.baner...@gmail.com wrote:
 Hi All,

 I am following this following link 
 http://www.datastax.com/docs/0.7/utilities/stress_java  for a stress test.
 I am getting this notification after running this command

 xxx.xxx.xxx.xx= my ip

 contrib/stress/bin/stress -d xxx.xxx.xxx.xx

 Created keyspaces. Sleeping 1s for propagation.
 total,interval_op_rate,interval_key_rate,avg_latency,elapsed_time
 Operation [44] retried 10 times - error inserting key 044
 ((UnavailableException))

 Operation [49] retried 10 times - error inserting key 049
 ((UnavailableException))

 Operation [7] retried 10 times - error inserting key 007
 ((UnavailableException))

 Operation [6] retried 10 times - error inserting key 006
 ((UnavailableException))

 Any idea why I am getting these things?

 Thank You






-- 
Jonathan Ellis
Project Chair, Apache Cassandra
co-founder of DataStax, the source for professional Cassandra support
http://www.datastax.com


Stress test using Java-based stress utility

2011-07-21 Thread Nilabja Banerjee
Hi All,

I am following this following link  *
http://www.datastax.com/docs/0.7/utilities/stress_java * for a stress test.
I am getting this notification after running this command

*xxx.xxx.xxx.xx= my ip*

*contrib/stress/bin/stress -d xxx.xxx.xxx.xx*

*Created keyspaces. Sleeping 1s for propagation.
total,interval_op_rate,interval_key_rate,avg_latency,elapsed_time
Operation [44] retried 10 times - error inserting key 044
((UnavailableException))

Operation [49] retried 10 times - error inserting key 049
((UnavailableException))

Operation [7] retried 10 times - error inserting key 007
((UnavailableException))

Operation [6] retried 10 times - error inserting key 006
((UnavailableException))
*


*Any idea why I am getting these things?*


*Thank You
*


*
*