Re: Schema help required

2016-12-18 Thread Sagar Jambhulkar
Thanks Alain for the help. I will give these options a try. On Dec 18, 2016 10:01 PM, "Alain RODRIGUEZ" wrote: > Hi Sagar, > > >> But this is a known anti pattern to not use Cassandra as a queue causing >> tombstones etc. >> But I could not think of any other way. Does

Multi DC Production ready Cassandra version

2016-12-18 Thread Abhishek Kumar Maheshwari
Hi All, Please let me know which version of Cassandra I can use in MULTI DC Cassandra clusters. Thanks & Regards, Abhishek Kumar Maheshwari +91- 805591 (Mobile) Times Internet Ltd. | A Times of India Group Company FC - 6, Sector 16A, Film City, Noida, U.P. 201301 | INDIA P Please do not

Re: quick questions

2016-12-18 Thread Kant Kodali
you got it! that's what I was looking for from that part of my question. thanks!! On Sun, Dec 18, 2016 at 2:08 PM, DE VITO Dominique < dominique.dev...@thalesgroup.com> wrote: > Ø I keep hearing that the minimum number of Cassandra nodes required to > achieve Quorum consensus is 4 I wonder

RE: quick questions

2016-12-18 Thread DE VITO Dominique
Ø I keep hearing that the minimum number of Cassandra nodes required to achieve Quorum consensus is 4 I wonder why not 3? In fact, many container deployments by default seem to deploy 4 nodes. Can anyone shine some light on this? I think it may be due to the following (note : I am assuming,

Re: All nodes hosting replicas down

2016-12-18 Thread Ben Slater
And I’m not aware of any case where it’s a good idea to use SimpleStrategy in Prod (be interested to hear if anyone else knows of one). NetworkTopologyStrategy behaves the same as SimpleStrategy in the basic case of one DC and Rack but gives you a good path to migrate to more sophisticated

Re: All nodes hosting replicas down

2016-12-18 Thread Benjamin Roth
For sensitive data, I'd recommend to use at least RF=3. Especially if you plan to use CL QUORUM, for example if you want to ensure consistency. If you use QUORUM and RF=2 then a single failing node will make your data unavailable. For more information, please read

Re: All nodes hosting replicas down

2016-12-18 Thread jean paul
Thank you so much for answer. So, in case of a high failure rate in my cluster, i have to increase the replication factor or i have to use NetworkToplogy Strategy ? That's it ? Kindly. 2016-12-18 20:23 GMT+01:00 Matija Gobec : > If you are reading and none of the

Re: All nodes hosting replicas down

2016-12-18 Thread Matija Gobec
If you are reading and none of the replicas is online you will get an exception on the read (tried x replicas but 0 responded) and your read will fail. Writes on the other hand are going to go through only if your write consistency is ANY. If your write consistency is ONE or anything upwards, then

All nodes hosting replicas down

2016-12-18 Thread jean paul
Hi, Please, if we choose a replication factor =2 (simple strategy), so, we have two replicas of data on the ring. What happen in the case of all nodes containing replicas are down ? Thank you so much for help. Kind regards.

Re: Schema help required

2016-12-18 Thread Alain RODRIGUEZ
Hi Sagar, > But this is a known anti pattern to not use Cassandra as a queue causing > tombstones etc. > But I could not think of any other way. Does anyone have any other > suggestion so as to not delete after a pair is created I believe you could try using a fixed TTL (defined at the table

Re: CCM remote debugger issue

2016-12-18 Thread Xiaolong Jiang
Never mind, I used our internal ccm and then it works. I did brew install ccm at the beginning, looks like there is some bug in that brew install version. On Sun, Dec 18, 2016 at 12:49 AM, Xiaolong Jiang wrote: > Hi, I tried to use ccm to create a local cluster, > > What

CCM remote debugger issue

2016-12-18 Thread Xiaolong Jiang
Hi, I tried to use ccm to create a local cluster, What I did is: ccm create test ccm populate -d -n 3 ccm start. So by default, it should have 2100 to remote debugger at 127.0.0.1 But I can not connect from IDEA, also looks like java process doesn't have