Re: Transaction failed because of timeout, retry failed because of the first try actually succeeded.

2016-06-30 Thread Robert Wille
I had this problem, and it was caused by my retry policy. For reasons I don’t remember (but is documented in a C* Jira ticket), when onWriteTimeout() is called, you cannot call RetryDecision.retry(cl), as it will be a CL that is incompatible with LWT. After the fix (2.1.?), you can pass null,

Transaction failed because of timeout, retry failed because of the first try actually succeeded.

2016-06-30 Thread Justin Lin
Hi everyone, I recently encountered a problem wrt light weight transaction. My query is to insert a row to a table if the row doesn't exist. It goes like this: Insert Into mytable (key, col1, col2) Value("key1", 1, 2) If Not Exist My case is the driver somehow gets time out from waiting for

Re: Motivation for a DHT ring

2016-06-30 Thread Utkarsh Sengar
With fault tolerance and reliability, it also gives a faster lookup mechanism across various nodes in a cluster. Amazon's dynamo paper might be a better read to understand the reasoning behind a DHT based system: http://www.allthingsdistributed.com/files/amazon-dynamo-sosp2007.pdf On Wed, Jun 29,

RE: C* files getting stuck

2016-06-30 Thread Amit Singh F
Hi Josh, On which version are you facing this issue. Is it 2.0.x branch ? Regards Amit From: Josh Smith [mailto:josh.sm...@careerbuilder.com] Sent: Thursday, June 30, 2016 7:39 PM To: user@cassandra.apache.org Subject: RE: C* files getting stuck I have also faced this issue. Rebooting the

RE: C* files getting stuck

2016-06-30 Thread Josh Smith
I have also faced this issue. Rebooting the instance has been our fix so far. I am very interested if anyone else has a solution. I was unable to get a definitive answer from Datastax during the last Cassandra Summit. From: Amit Singh F [mailto:amit.f.si...@ericsson.com] Sent: Thursday, June

RE: Exception in logs using LCS .

2016-06-30 Thread Prakash Chauhan
Hi Paulo, Thanks for the reply. Running scrub every time the exception occurs is not a possible solution for us. We don’t have a log patrolling system in place that verify the log on regular basis. I have some queries based on your reply: 1. You mentioned race condition. Can you please

Re: Ring connection timeouts with 2.2.6

2016-06-30 Thread Jens Rantil
Hi, Could it be garbage collection occurring on nodes that are more heavily loaded? Cheers, Jens Den sön 26 juni 2016 05:22Mike Heffner skrev: > One thing to add, if we do a rolling restart of the ring the timeouts > disappear entirely for several hours and performance

Re: some questions

2016-06-30 Thread Jens Rantil
You forgot FROM in your CQL query. Jens Den sön 26 juni 2016 08:30lowping skrev: > Hi : > > > question 1: > > I got a error about this cql, have you fix it already ??? > select collection_type where id in (‘a’,’b’) > > question 2: > > I want use UDF in update, but this cql

UNSUBSCRIBE

2016-06-30 Thread Brian Fleming

Re: Multi DC setup question

2016-06-30 Thread Jens Rantil
I'm AFK, but you might be able to query the system.peers table to see which nodes are up. Cheers, Jens Den tis 28 juni 2016 06:44Charulata Sharma (charshar) skrev: > Hi All, > >We are setting up another Data Center and have the following > question: > > 6 nodes in

Re: Motivation for a DHT ring

2016-06-30 Thread Jens Rantil
Some reasons I can come up with: - it would be hard to have tunable read/consistencies/replicas when interfacing with a file system. - data locality support would require strong coupling to the distributed file system interface (if at all possible given that certain sstables should live on the