Cassandra unit testing becoming nearly impossible: suggesting alternative.

2013-12-24 Thread Edward Capriolo
I am not sure there how many people have been around developing Cassandra for as long as I have, but the state of all the client libraries and the cassandra server is WORD_I_DONT_WANT_TO_SAY. Here is an example of something I am seeing: ERROR 14:59:45,845 Exception in thread Thread[Thrift:5,5,main

Re: Broken pipe with Thrift

2013-12-24 Thread Steven A Robenalt
In our case, the issue was on the server side, but since you're on the 1.2.x branch, it's not likely to be the same issue. Hopefully, somone else who is using the 1.2.x branch will have more insight than I do. On Mon, Dec 23, 2013 at 11:52 PM, Vivek Mishra wrote: > Hi Steven, > One question, whi

Re: WriteTimeoutException on Lightweight transactions

2013-12-24 Thread Demian Berjman
Very helpful!! Thanks, On Tue, Dec 24, 2013 at 12:17 AM, Aaron Morton wrote: > Some background…. > > http://www.datastax.com/dev/blog/lightweight-transactions-in-cassandra-2-0 > > You can also get a timeout during the prepare phase, well anytime you are > waiting on other node really. The Write

Re: org.apache.thrift.TApplicationException: get_range_slices failed: out of sequence response

2013-12-24 Thread Jason Wee
Hi Aaron, thank you for response and advices. yes, the problem was due to the code using wrote method calls, spent sometime to read the codes and voila... problem found! =) thank you again. /Jason On Tue, Dec 24, 2013 at 4:16 AM, Aaron Morton wrote: > AFAIK it mean the response from the se

RE: Issue upgrading from 1.2 to 2.0.3

2013-12-24 Thread Parag Patel
After restarting all the nodes, they all see each other. I'll try nodetool gossipinfo if it happens again. Thanks. From: Aaron Morton [mailto:aa...@thelastpickle.com] Sent: Monday, December 23, 2013 10:19 PM To: Cassandra User Subject: Re: Issue upgrading from 1.2 to 2.0.3 If this is still a

Re: Best way to measure write throughput...

2013-12-24 Thread Panagiotis Garefalakis
you could always use a benchmark like YCSB https://github.com/brianfrankcooper/YCSB/wiki with a write workload to get a clearer view of you systems throughtput. You can configure the size of the data being inserted (1500 bytes if you are talking about IP packets) to match to your needs. Regargs, P

Re: WriteTimeoutException instead of UnavailableException

2013-12-24 Thread Demian Berjman
Thanks Aaron!! On Mon, Dec 23, 2013 at 5:28 PM, Aaron Morton wrote: > But in some cases, from one certain node, I get an WriteTimeoutException > for a few minutes until an UnavailableException. It's like the coordinator > don't know the status of the cluster. Any clue why is this happening? > >