Replication factor

2012-05-22 Thread Daning Wang
Hello, What is the pros and cons to choose different number of replication factor in term of performance? if space is not a concern. for example, if I have 4 nodes cluster in one data center, how can RF=2 vs RF=4 affect read performance? If consistency level is ONE, looks reading does not need

Replication Factor question

2014-04-14 Thread Markus Jais
Hello, currently reading the "Practical Cassandra". In the section about replication factors the book says: "It is generally not recommended to set a replication factor of 3 if you have fewer than six nodes in a data center". Why is that? What problems would arise if

Increase replication factor

2011-12-05 Thread A J
If I update a keyspace to increase the replication factor; what happens to existing data for that keyspace ? Does the existing data get automatically increase its replication ? Or only on a RR or node repair does the existing data increase its replication factor ? Thanks.

Re: Replication factor

2012-05-23 Thread aaron morton
u will still get some performance benefit from the data being read locally. Cheers - Aaron Morton Freelance Developer @aaronmorton http://www.thelastpickle.com On 23/05/2012, at 9:34 AM, Daning Wang wrote: > Hello, > > What is the pros and cons to choose different

RE: Replication factor

2012-05-23 Thread Viktor Jevdokimov
this message and any copies. From: aaron morton [mailto:aa...@thelastpickle.com] Sent: Wednesday, May 23, 2012 13:00 To: user@cassandra.apache.org Subject: Re: Replication factor RF is normally adjusted to modify availability (see http://thelastpickle.com/2011/06/13/Down-For-Me/) for example, i

Re: Replication factor

2012-05-23 Thread Daning Wang
nt or rely on this e-mail. If you have > received this message in error, please contact the sender immediately and > irrevocably delete this message and any copies. > > *From:* aaron morton [mailto:aa...@thelastpickle.com] > *Sent:* Wednesday, May 23, 2012 13:00 > *To:* user@c

Re: Replication factor

2012-05-23 Thread Brandon Williams
On Wed, May 23, 2012 at 5:51 AM, Viktor Jevdokimov < viktor.jevdoki...@adform.com> wrote: > > When RF == number of nodes, and you read at CL ONE you will always be > reading locally. > > “always be reading locally” – only if Dynamic Snitch is “off”. With > dynamic snitch “on” request may be r

RE: Replication factor

2012-05-23 Thread Viktor Jevdokimov
a.apache.org Subject: Re: Replication factor On Wed, May 23, 2012 at 5:51 AM, Viktor Jevdokimov mailto:viktor.jevdoki...@adform.com>> wrote: > When RF == number of nodes, and you read at CL ONE you will always be reading > locally. "always be reading locally" - only if Dynamic Snit

Re: Replication factor

2012-05-24 Thread aaron morton
rty of the sender. You must not use, > disclose, distribute, copy, print or rely on this e-mail. If you have > received this message in error, please contact the sender immediately and > irrevocably delete this message and any copies. > > From: aaron morton [mailto:aa...@thelastpic

Re: Replication factor

2012-05-24 Thread aaron morton
contact the sender immediately and > irrevocably delete this message and any copies. > > From: Brandon Williams [mailto:dri...@gmail.com] > Sent: Thursday, May 24, 2012 02:35 > To: user@cassandra.apache.org > Subject: Re: Replication factor > > On Wed, May 23, 2012 at 5:5

RE: Replication factor

2012-05-24 Thread Viktor Jevdokimov
message in error, please contact the sender immediately and irrevocably delete this message and any copies. From: aaron morton [mailto:aa...@thelastpickle.com] Sent: Thursday, May 24, 2012 13:00 To: user@cassandra.apache.org Subject: Re: Replication factor Your experience is when using CL ONE the Dynamic

Re: Replication factor

2012-05-30 Thread aaron morton
e in error, please contact the sender immediately and > irrevocably delete this message and any copies. > > From: aaron morton [mailto:aa...@thelastpickle.com] > Sent: Thursday, May 24, 2012 13:00 > To: user@cassandra.apache.org > Subject: Re: Replication factor > > Your ex

Replication Factor Change

2015-11-05 Thread Yulian Oifa
Hello to all. I am planning to change replication factor from 1 to 3. Will it cause data read errors in time of nodes repair? Best regards Yulian Oifa

Changing replication factor

2013-06-10 Thread Vegard Berget
Hi, If one increases the replication factor of a keyspace and then do a repair, how will this affect the performance of the affected nodes? Could we risk the nodes being (more or less) unresponsive while repair is going on?  The nodes I am speaking of contains ~100gb of data.  Also, some of the

system_auth keyspace replication factor

2018-11-23 Thread Vitali Dyachuk
Hi, We have recently met a problem when we added 60 nodes in 1 region to the cluster and set an RF=60 for the system_auth ks, following this documentation https://docs.datastax.com/en/cql/3.3/cql/cql_using/useUpdateKeyspaceRF.html However we've started to see increased login latencies in the cluste

Dropping down replication factor

2017-08-12 Thread brian . spindler
what I was thinking about doing was: - drop the replication factor on our keyspace to two - hopefully this would reduce load on these two remaining nodes - run repairs/cleanup across the cluster - then shoot these two nodes in the 'c' rack - run repairs/cleanup across the cluster W

Reducing the replication factor

2018-01-09 Thread Alessandro Pieri
Dear Everyone, We are running Cassandra v2.0.15 on our production cluster. We would like to reduce the replication factor from 3 to 2 but we are not sure if it is a safe operation. We would like to get some feedback from you guys. Have anybody tried to shrink the replication factor? Does

Re: Replication Factor question

2014-04-14 Thread Sergey Murylev
Hi Markus, > "It is generally not recommended to set a replication factor of 3 if > you have fewer than six nodes in a data center". Actually you can create a cluster with 3 nodes and replication level 3. But in this case if one of them would fail cluster become inconsistent. In

Re: Replication Factor question

2014-04-14 Thread Tupshin Harper
" wrote: > Hello, > > currently reading the "Practical Cassandra". In the section about > replication factors the book says: > > "It is generally not recommended to set a replication factor of 3 if you > have fewer than six nodes in a data center".

Re: Replication Factor question

2014-04-14 Thread Markus Jais
gt;>factors the book says: >> >> >>"It is generally not recommended to set a replication factor of 3 if you have >>fewer than six nodes in a data center". >> >> >>Why is that? What problems would arise if I had a replication factor of 3 and &g

Re: Replication Factor question

2014-04-14 Thread Tupshin Harper
eploy a 3 node cluster with RF=3 and it works fine as > long as each node can handle 100% of your data, and keep up with the > workload. > -Tupshin > On Apr 14, 2014 5:25 AM, "Markus Jais" wrote: > > Hello, > > currently reading the "Practical Cassandra".

Re: Replication Factor question

2014-04-14 Thread Robert Coli
On Mon, Apr 14, 2014 at 2:25 AM, Markus Jais wrote: > "It is generally not recommended to set a replication factor of 3 if you > have fewer than six nodes in a data center". > I have a detailed post about this somewhere in the archives of this list (which I can't seem

Re: Replication Factor question

2014-04-14 Thread Tupshin Harper
ly not recommended to set a replication factor of 3 if you >> have fewer than six nodes in a data center". >> > > I have a detailed post about this somewhere in the archives of this list > (which I can't seem to find right now..) but briefly, the "6-for-3" advice >

Re: Replication Factor question

2014-04-15 Thread Markus Jais
failure. For light workloads, that can be fulfilled with nodes=rf. >-Tupshin >On Apr 14, 2014 2:35 PM, "Robert Coli" wrote: > >On Mon, Apr 14, 2014 at 2:25 AM, Markus Jais wrote: >> >>"It is generally not recommended to set a replication factor of 3 if you

Re: Replication Factor question

2014-04-15 Thread Ken Hancock
of node failure. For > light workloads, that can be fulfilled with nodes=rf. > -Tupshin > On Apr 14, 2014 2:35 PM, "Robert Coli" wrote: > > On Mon, Apr 14, 2014 at 2:25 AM, Markus Jais wrote: > > "It is generally not recommended to set a replication factor of

Re: Replication Factor question

2014-04-15 Thread Markus Jais
node failure. For >>light workloads, that can be fulfilled with nodes=rf. >>>-Tupshin >>>On Apr 14, 2014 2:35 PM, "Robert Coli" wrote: >>> >>>On Mon, Apr 14, 2014 at 2:25 AM, Markus Jais wrote: >>>> >>>>"It is general

Re: Replication Factor question

2014-04-15 Thread Robert Coli
On Tue, Apr 15, 2014 at 6:14 AM, Ken Hancock wrote: > Keep in mind if you lose the wrong two, you can't satisfy quorum. In a > 5-node cluster with RF=3, it would be impossible to lose 2 nodes without > affecting quorum for at least some of your data. In a 6 node cluster, once > you've lost one no

Re: Replication Factor question

2014-04-15 Thread Tupshin Harper
It is not common, but I know of multiple organizations running with RF=5, in at least one DC, for HA reasons. -Tupshin On Apr 15, 2014 2:36 PM, "Robert Coli" wrote: > On Tue, Apr 15, 2014 at 6:14 AM, Ken Hancock wrote: > >> Keep in mind if you lose the wrong two, you can't satisfy quorum. In a

Re: Replication Factor question

2014-04-16 Thread Markus Jais
Hi Rob, thanks. How many nodes to you have running in those 5 racks and RF 5? Only 5 nodes or more? Markus Robert Coli schrieb am 20:36 Dienstag, 15.April 2014: On Tue, Apr 15, 2014 at 6:14 AM, Ken Hancock wrote: > >Keep in mind if you lose the wrong two, you can't satisfy quorum.  In a 5-no

Re: Replication Factor question

2014-04-17 Thread Robert Coli
On Wed, Apr 16, 2014 at 1:47 AM, Markus Jais wrote: > thanks. How many nodes to you have running in those 5 racks and RF 5? Only > 5 nodes or more? > While I haven't contemplated it too much, I'd think the absolute minimum would be RF=N=5, sure. The "real minimum" with headroom would depend on w

Counters and replication factor

2011-11-07 Thread Alain RODRIGUEZ
Hi, I trying to switch from a RF = 1 to a RF = 3, but I get wrong values from counters when doing so... I got a CF that contains many counters of some events. When I'm at RF = 1 and simulate 10 events, they are well counted. However, when I switch to a RF = 3, my counter show a wrong value that s

Re: Increase replication factor

2011-12-05 Thread Alain RODRIGUEZ
http://www.datastax.com/docs/1.0/operations/cluster_management#changing-the-replication-factor It looks like a nodetool repair is needed after increasing your RF. I guess that a cleanup has to be performed after decreasing the RF to remove useless replica. Alain 2011/12/5 A J > If I updat

Replication factor via hector

2012-06-04 Thread Roshni Rajagopal
Hi , I'm trying to see the effect of different replication factors and consistency levels for a keyspace on a 4 node cassandra cluster. I'm doing this using hector client. I could not find an api to set replication factor for a keyspace though I could find ways to modify consist

Replication factor - Consistency Questions

2012-07-17 Thread Jay Parashar
Hello all, There is a lot of material on Replication factor and Consistency level but I am a little confused by what is happening on my setup. (Cassandra 1.1.2). I would appreciate any answers. My Setup: A cluster of 2 nodes evenly balanced. My RF =2, Consistency Level; Write = ANY and Read = 1

Re: Replication Factor Change

2015-11-05 Thread Eric Stevens
e for a node failure, so that doesn't really change your availability model). On Thu, Nov 5, 2015 at 8:01 AM Yulian Oifa wrote: > Hello to all. > I am planning to change replication factor from 1 to 3. > Will it cause data read errors in time of nodes repair? > > Best regards > Yulian Oifa >

RE: Replication Factor Change

2015-11-05 Thread aeljami.ext
Hello, If current CL = ONE, Be careful on production at the time of change replication factor, 3 nodes will be queried while data is being transformed ==> So data read errors! De : Yulian Oifa [mailto:oifa.yul...@gmail.com] Envoyé : jeudi 5 novembre 2015 16:02 À : user@cassandra.apache.

Re: Replication Factor Change

2015-11-05 Thread Yulian Oifa
hange your > availability model). > > On Thu, Nov 5, 2015 at 8:01 AM Yulian Oifa wrote: > >> Hello to all. >> I am planning to change replication factor from 1 to 3. >> Will it cause data read errors in time of nodes repair? >> >> Best regards >> Yulian Oifa >> >

replication factor is zero

2013-06-06 Thread Daning Wang
We have multi-center deployment. data from some tables we don't want to sync to other center. could we set replication factor to 0 on other data center? what is the best to way for not syncing some data in a cluster? Thanks in advance, Daning

Re: Changing replication factor

2013-06-14 Thread Robert Coli
On Mon, Jun 10, 2013 at 6:04 AM, Vegard Berget wrote: > If one increases the replication factor of a keyspace and then do a repair, > how will this affect the performance of the affected nodes? Could we risk > the nodes being (more or less) unresponsive while repair is going on? Re

Re: Changing replication factor

2013-06-17 Thread Vegard Berget
0700 Subject:Re: Changing replication factor On Mon, Jun 10, 2013 at 6:04 AM, Vegard Berget wrote: > If one increases the replication factor of a keyspace and then do a repair, > how will this affect the performance of the affected nodes? Could we risk > the nodes being (more or less) unr

Re: Changing replication factor

2013-06-17 Thread Robert Coli
On Mon, Jun 17, 2013 at 5:33 AM, Vegard Berget wrote: > "invalid counter shard detected; (X, Y, Z) and (X, Y, Z2) differ only in > count; will pick highest to self-heal; this indicates a bug or corruption > generated a bad counter shard" https://issues.apache.org/jira/browse/CASSANDRA-4417 and h

replication factor > no nodes

2011-09-19 Thread Fredrik Stigbäck
What is the implication of having a replication factor greater that the number of nodes in cluster? We're changing replication factor at runtime and sometimes when a node is removed/decomissioned from the cluster, replication factor will be greater than number of nodes since we have replic

Re: system_auth keyspace replication factor

2018-11-23 Thread Jonathan Haddad
Any chance you’re logging in with the Cassandra user? It uses quorum reads. On Fri, Nov 23, 2018 at 11:38 AM Vitali Dyachuk wrote: > Hi, > We have recently met a problem when we added 60 nodes in 1 region to the > cluster > and set an RF=60 for the system_auth ks, following this documentation >

Re: system_auth keyspace replication factor

2018-11-23 Thread Vitali Dyachuk
no its not a cassandra user and as i understood all other users login local_one. On Fri, 23 Nov 2018, 19:30 Jonathan Haddad Any chance you’re logging in with the Cassandra user? It uses quorum > reads. > > > On Fri, Nov 23, 2018 at 11:38 AM Vitali Dyachuk > wrote: > >> Hi, >> We have recently me

Re: system_auth keyspace replication factor

2018-11-23 Thread Jeff Jirsa
I suspect some of the intermediate queries (determining role, etc) happen at quorum in 2.2+, but I don’t have time to go read the code and prove it. In any case, RF > 10 per DC is probably excessive Also want to crank up the validity times so it uses cached info longer -- Jeff Jirsa > On N

Re: system_auth keyspace replication factor

2018-11-23 Thread Vitali Dyachuk
Attaching the runner log snippet, where we can see that "Rebuilding token map" took most of the time. getAllroles is using quorum, don't if it is used during login https://github.com/apache/cassandra/blob/cc12665bb7645d17ba70edcf952ee6a1ea63127b/src/java/org/apache/cassandra/auth/CassandraRoleManag

Re: system_auth keyspace replication factor

2018-11-26 Thread Oleksandr Shulgin
On Fri, Nov 23, 2018 at 5:38 PM Vitali Dyachuk wrote: > > We have recently met a problem when we added 60 nodes in 1 region to the > cluster > and set an RF=60 for the system_auth ks, following this documentation > https://docs.datastax.com/en/cql/3.3/cql/cql_using/useUpdateKeyspaceRF.html > Sad

Re: system_auth keyspace replication factor

2018-11-26 Thread Sam Tunnicliffe
> I suspect some of the intermediate queries (determining role, etc) happen at > quorum in 2.2+, but I don’t have time to go read the code and prove it. This isn’t true. Aside from when using the default superuser, only CRM::getAllRoles reads at QUORUM (because the resultset would include the

Re: Counters and replication factor

2012-08-27 Thread Radim Kolar
Dne 25.5.2012 2:41, Edward Capriolo napsal(a): Also it does not sound like you have run anti entropy repair. You should do that when upping rf. i run entropy repairs and it still does not fix counters. I have some reports from users with same problem but nobody discovered repeatable scenario.

Replication factor and performance questions

2012-11-05 Thread Oleg Dulin
I have 4 nodes at my disposal. I can configure them like this: 1) RF=1, each node has 25% of the data. On random-reads, how big is the performance penalty if a node needs to look for data on another replica ? 2) RF=2, each node has 50% of the data. Same question ? -- Regards, Oleg Dulin N

Re: Dropping down replication factor

2017-08-12 Thread Jeff Jirsa
not busy doing something? Like building secondary index or similar? jstack thread dump would be useful, or at least nodetool tpstats > > Rather than troubleshoot this further, what I was thinking about doing was: > - drop the replication factor on our keyspace to two Repair before y

Re: Dropping down replication factor

2017-08-12 Thread Brian Spindler
RANGE_SLICE 15 _TRACE 0 MUTATION 2949001 COUNTER_MUTATION 0 BINARY 0 REQUEST_RESPONSE 0 PAGED_RANGE 0 READ_REPAIR 8571 I can get a jstack if needed. > > > >

Re: Dropping down replication factor

2017-08-12 Thread Jeffrey Jirsa
itself off. Not sure why streaming is marked as failing, though, anything on the sending sides? From: Brian Spindler Reply-To: Date: Saturday, August 12, 2017 at 6:34 PM To: Subject: Re: Dropping down replication factor Thanks for replying Jeff. Responses below. On Sat, Aug 12, 2017 at

Re: Dropping down replication factor

2017-08-12 Thread Brian Spindler
> > > From: Brian Spindler > Reply-To: > Date: Saturday, August 12, 2017 at 6:34 PM > To: > Subject: Re: Dropping down replication factor > > Thanks for replying Jeff. > > Responses below. > > On Sat, Aug 12, 2017 at 8:33 PM Jeff Jirsa wrote: > >> Answers

Re: Dropping down replication factor

2017-08-13 Thread Brian Spindler
e jstack >> probably not necessary, streaming is being marked as failed and it’s >> turning itself off. Not sure why streaming is marked as failing, though, >> anything on the sending sides? >> >> >> >> >> >> From: Brian Spindler >> Reply-T

Re: Dropping down replication factor

2017-08-13 Thread Jeff Jirsa
econdary index build. Hard to say for >>> sure. ‘nodetool compactionstats’ if you’re able to provide it. The jstack >>> probably not necessary, streaming is being marked as failed and it’s >>> turning itself off. Not sure why streaming is marked as failing, though, >>> anythin

Re: Dropping down replication factor

2017-08-13 Thread Brian Spindler
for >>> sure. ‘nodetool compactionstats’ if you’re able to provide it. The jstack >>> probably not necessary, streaming is being marked as failed and it’s >>> turning itself off. Not sure why streaming is marked as failing, though, >>> anything on the sending sides? >

Re: Dropping down replication factor

2017-08-13 Thread kurt greaves
On 14 Aug. 2017 00:59, "Brian Spindler" wrote: Do you think with the setup I've described I'd be ok doing that now to recover this node? The node died trying to run the scrub; I've restarted it but I'm not sure it's going to get past a scrub/repair, this is why I deleted the other files as a bru

Re: Dropping down replication factor

2017-08-13 Thread Brian Spindler
Thanks Kurt. We had one sstable from a cf of ours. I am actually running a repair on that cf now and then plan to try and join the additional nodes as you suggest. I deleted the opscenter corrupt sstables as well but will not bother repairing that before adding capacity. Been keeping an eye acr

Re: Dropping down replication factor

2017-08-15 Thread Erick Ramirez
ng and possible OOM > bugs due to metadata writing at end of streaming (sorry don't have ticket > handy). I'm worried I might not be able to do much with these since the > disk space usage is high and they are under a lot of load given the small > number of them for this rack.

Re: Reducing the replication factor

2018-01-09 Thread Jeff Jirsa
Run repair first to ensure the data is properly replicated, then cleanup. -- Jeff Jirsa > On Jan 9, 2018, at 9:36 AM, Alessandro Pieri wrote: > > Dear Everyone, > > We are running Cassandra v2.0.15 on our production cluster. > > We would like to reduce the replicati

Re: Counters and replication factor

2011-11-07 Thread Riyad Kalla
Alain, Try using a CL of 3 or "ALL" and see if that the problem goes away. Your replication factor (as I just learned) dictates how many nodes each piece of data is replicated to; by using a RF of 3 you are saying "replicate all my data to all my nodes" (in this case coun

Re: Counters and replication factor

2011-11-07 Thread Alain RODRIGUEZ
; Try using a CL of 3 or "ALL" and see if that the problem goes away. > > Your replication factor (as I just learned) dictates how many nodes each > piece of data is replicated to; by using a RF of 3 you are saying > "replicate all my data to all my nodes" (in this

Re: Counters and replication factor

2011-11-07 Thread Riyad Kalla
10 events counted instead of 10) but know every > request returns me always the same count value... > > It's very strange. > > Any other idea ? > > Alain > > > 2011/11/7 Riyad Kalla > >> Alain, >> >> Try using a CL of 3 or "ALL" and s

Re: Counters and replication factor

2011-11-07 Thread Alain RODRIGUEZ
... >> >> It's very strange. >> >> Any other idea ? >> >> Alain >> >> >> 2011/11/7 Riyad Kalla >> >>> Alain, >>> >>> Try using a CL of 3 or "ALL" and see if that the problem goes away. >>&g

Re: Counters and replication factor

2011-11-07 Thread Sylvain Lebresne
nsistent like that? >> On Mon, Nov 7, 2011 at 9:09 AM, Alain RODRIGUEZ >> wrote: >>> >>> I've tried with CL.All, but it doesn't wotk better. I still have strange >>> values (between 4 and 10 events counted instead of 10) but know every &

Re: Counters and replication factor

2011-11-07 Thread Riyad Kalla
Alain thank you for all the clarification, I understand exactly what you meant now... and as a result am just as confused as you are :) What version of Cassandra are you using? Can you share the important parts of your config? (you double checked that your replication factor is set on all 3 to &q

Re: Counters and replication factor

2011-11-08 Thread Alain RODRIGUEZ
meant now... and as a result am just as confused as you are :) > > What version of Cassandra are you using? Can you share the important parts > of your config? (you double checked that your replication factor is set on > all 3 to "3"?) > > Also out of curiosity, if you keep qu

Re: Counters and replication factor

2011-11-08 Thread Riyad Kalla
the important >> parts of your config? (you double checked that your replication factor is >> set on all 3 to "3"?) >> >> Also out of curiosity, if you keep querying for up to 5 mins (say every >> 10 seconds) do counter1, 2 and 3 still show the same wrong values f

Replication factor per column family

2012-02-16 Thread R. Verlangen
Hi there, As the subject states: "Is it possible to set a replication factor per column family?" Could not find anything of recent releases. I'm running Cassandra 1.0.7 and I think it should be possible on a per CF basis instead of the whole keyspace. With kind regards, Robin

Re: Counters and replication factor

2012-03-23 Thread Radim Kolar
I still have wrong results (I simulated an event 5 times and it was counted 3 times by some counters 4 or 5 times by others. I have also wrong results with counters in 1.0.8, many times updates to counter column are just lost and sometimes counters are going backwards even if our app uses only

Re: Counters and replication factor

2012-03-26 Thread aaron morton
Can you describe the situations where counter updates are lost or go backwards ? Do you ever get TimedOutExceptions when performing counter updates ? Cheers - Aaron Morton Freelance Developer @aaronmorton http://www.thelastpickle.com On 24/03/2012, at 6:34 PM, Radim Kolar wrot

Re: Counters and replication factor

2012-05-21 Thread Radim Kolar
Dne 26.3.2012 19:17, aaron morton napsal(a): Can you describe the situations where counter updates are lost or go backwards ? Do you ever get TimedOutExceptions when performing counter updates ? we got few timeouts per day but not much, less then 10. I do not think that timeouts will be root c

Re: Counters and replication factor

2012-05-24 Thread Edward Capriolo
Also it does not sound like you have run anti entropy repair. You should do that when upping rf. On Monday, May 21, 2012, Radim Kolar wrote: > Dne 26.3.2012 19:17, aaron morton napsal(a): >> >> Can you describe the situations where counter updates are lost or go backwards ? >> >> Do you ever get T

Re: Replication factor - Consistency Questions

2012-07-17 Thread Jason Tang
ur network is not fast enough, then yes, it will impact to write one more node. BRs 2012/7/18 Jay Parashar > Hello all, > > There is a lot of material on Replication factor and Consistency level but > I > am a little confused by what is happening on my setup. (Cassandra 1.1.2).

RE: Replication factor - Consistency Questions

2012-07-17 Thread Jay Parashar
Thanks..but write ALL will fail for any downed nodes. I am thinking of QUORAM. From: Jason Tang [mailto:ares.t...@gmail.com] Sent: Tuesday, July 17, 2012 8:24 PM To: user@cassandra.apache.org Subject: Re: Replication factor - Consistency Questions Hi I am starting using Cassandra for

Re: Replication factor - Consistency Questions

2012-07-17 Thread Jason Tang
g of > QUORAM. > > ** ** > > *From:* Jason Tang [mailto:ares.t...@gmail.com] > *Sent:* Tuesday, July 17, 2012 8:24 PM > *To:* user@cassandra.apache.org > *Subject:* Re: Replication factor - Consistency Questions > > ** ** > > Hi > > ** ** > > I a

Re: Replication factor - Consistency Questions

2012-07-19 Thread Kirk True
To:* user@cassandra.apache.org <mailto:user@cassandra.apache.org> *Subject:* Re: Replication factor - Consistency Questions Hi I am starting using Cassandra for not a long time, and also have problems in consistency. Here is some thinking. If you have Write:Any / Read:One,

Re: Replication factor - Consistency Questions

2012-07-20 Thread aaron morton
when got >> "UnavailableException" exception. >> >> 2012/7/18 Jay Parashar >> Thanks..but write ALL will fail for any downed nodes. I am thinking of >> QUORAM. >> >> >> From: Jason Tang [mailto:ares.t...@gmail.com] >> Sent: Tuesday, July

Trouble After Changing Replication Factor

2021-10-10 Thread Isaeed Mohanna
Hi We had a cluster with 3 Nodes with Replication Factor 2 and we were using read with consistency Level One. We recently added a 4th node and changed the replication factor to 3, once this was done apps reading from DB with CL1 would receive an empty record, Looking around I was surprised to

Re: replication factor is zero

2013-06-06 Thread Tyler Hobbs
On Thu, Jun 6, 2013 at 1:28 PM, Daning Wang wrote: > could we set replication factor to 0 on other data center? what is the > best to way for not syncing some data in a cluster? Yes, you can set it to 0, and that's the recommended way to handle this. -- Tyler Hobbs Dat

Re: replication factor is zero

2013-06-06 Thread Alain RODRIGUEZ
But afaik you can set the RF only per Keyspace. So you will have to pull those tables apart, in a different Keyspace. 2013/6/6 Tyler Hobbs > > On Thu, Jun 6, 2013 at 1:28 PM, Daning Wang wrote: > >> could we set replication factor to 0 on other data center? what is the >>

Scaling Out / Replication Factor too?

2011-08-28 Thread Ryan Lowe
still quite small. A single event's data might be 100MB in size max, but we will be inserting that data very rapidly and needing to read it at the same time. Since we have very slow times, we use a replication factor of 2 and a cluster size of 2 to handle the traffic... it handles it perf

Cassandra Counters and Replication Factor

2011-10-12 Thread Amit Chavan
Hi, Looking at this talk ( http://www.datastax.com/wp-content/uploads/2011/07/cassandra_sf_counters.pdf) by Sylvain Lesbresne at DataStax, I had a few questions related to my understanding Cassandra architecture. Assuming that we have a keyspace in Cassandra with: 1. Replication Factor (RF) = 1

Question about replica and replication factor

2016-09-19 Thread Jun Wu
Hi there, I have a question about the replica and replication factor. For example, I have a cluster of 6 nodes in the same data center. Replication factor RF is set to 3 and the consistency level is default 1. According to this calculator http://www.ecyrd.com/cassandracalculator

Tuning Replication Factor - All, Consistency ONE

2018-07-10 Thread Code Wiget
around 1s, then there shouldn’t be an issue. When I go to set up the database though, I am required to set a replication factor to a number - 1,2,3,etc. So I can’t just say “ALL” and have it replicate to all nodes. Right now, I have a 2 node cluster with replication factor 3. Will this cause

Replication factor 2, consistency and failover

2012-09-09 Thread Sergey Tryuber
during the switching process and some time after (when hinted handnoff works). Basically I don't have any questions, just want to share our "ugly" failover algorithm, to hear your criticism and may be advise on how to improve it. Unfortunately we can't change replication factor a

Re: Replication factor and performance questions

2012-11-05 Thread Michael Kjellman
Rule of thumb is to try to keep nodes under 400GB. Compactions/Repairs/Move operations etc become a nightmare otherwise. How much data do you expect to have on each node? Also depends on caches, bloom filters etc On 11/5/12 8:57 AM, "Oleg Dulin" wrote: >I have 4 nodes at my disposal. > >I can co

Re: Replication factor and performance questions

2012-11-05 Thread Bryan
Our compactions/repairs have already become nightmares and we have not approached the levels of data you describe here (~200 GB). Have any pointers/case studies for optimizing this? On Nov 5, 2012, at 12:00 PM, Michael Kjellman wrote: > Rule of thumb is to try to keep nodes under 400GB. > Comp

Re: Replication factor and performance questions

2012-11-05 Thread Oleg Dulin
Should be all under 400Gig on each. My question is -- is there additional overhead with replicas making requests to one another for keys they don't have ? how much of an overhead is that ? On 2012-11-05 17:00:37 +, Michael Kjellman said: Rule of thumb is to try to keep nodes under 400GB

Re: Replication factor and performance questions

2012-11-05 Thread Andrey Ilinykh
You will have one extra hop. Not big deal, actually. And many client libraries (astyanax for example) are token aware, so they are smart enough to call the right node. On Mon, Nov 5, 2012 at 9:12 AM, Oleg Dulin wrote: > Should be all under 400Gig on each. > > My question is -- is there additional

Re: Replication factor and performance questions

2012-11-10 Thread B. Todd Burruss
@oleg, to answer your last question a cassandra node should never ask another node for information it doesn't have. it uses the key and the partitioner to determine where the data is located before ever contacting another node. On Mon, Nov 5, 2012 at 9:45 AM, Andrey Ilinykh wrote: > You will hav

Replication Factor and Consistency Level Confusion

2012-12-19 Thread Vasileios Vlachos
Hello All, We have a 3-node cluster and we created a keyspace (say Test_1) with Replication Factor set to 3. I know is not great but we wanted to test different behaviors. So, we created a Column Family (say cf_1) and we tried writing something with Consistency Level ANY, ONE, TWO, THREE, QUORUM

system_auth replication factor in Cassandra 2.1

2017-08-30 Thread Chuck Reynolds
So I’ve read that if your using authentication in Cassandra 2.1 that your replication factor should match the number of nodes in your datacenter. Is that true? I have two datacenter cluster, 135 nodes in datacenter 1 & 227 nodes in an AWS datacenter. Why do I want to replicate the system_

Eventual consistency with replication factor 1

2014-04-11 Thread Ravil Bayramgalin
I've got classical eventual consistency symptoms (read after write returns empty result) but there is a surprising twist. The keyspace has replication factor 1 (it's used as a cache) so how can I get a stale result? Cassandra version 1.2.15. Consistency settings (although I think they

Replication factor 2 with immutable data

2014-07-25 Thread Jon Travis
I have a couple questions regarding the availability of my data in a RF=2 scenario. - The setup - I am currently storing immutable data in a CF with RF=2 and read_repair_chance = 0.0. There is a lot of data, so bumping up to RF=3 would increase my storage costs quite dramatically. For the most p

Changing replication factor of Cassandra cluster

2014-12-15 Thread Pranay Agarwal
Hi All, I have 20 nodes cassandra cluster with 500gb of data and replication factor of 1. I increased the replication factor to 3 and ran nodetool repair on each node one by one as the docs says. But it takes hours for 1 node to finish repair. Is that normal or am I doing something wrong? Also

Re: Replication factor per column family

2012-02-16 Thread aaron morton
re, > > As the subject states: "Is it possible to set a replication factor per column > family?" > > Could not find anything of recent releases. I'm running Cassandra 1.0.7 and I > think it should be possible on a per CF basis instead of the whole keyspace. > > With kind regards, > Robin

Re: Replication factor per column family

2012-02-16 Thread R. Verlangen
er reasons as well. In short it's baked in. > > Cheers > > - > Aaron Morton > Freelance Developer > @aaronmorton > http://www.thelastpickle.com > > On 16/02/2012, at 9:54 PM, R. Verlangen wrote: > > Hi there, > > As the subject states: "I

Re: Replication factor per column family

2012-02-16 Thread aaron morton
eveloper > @aaronmorton > http://www.thelastpickle.com > > On 16/02/2012, at 9:54 PM, R. Verlangen wrote: > >> Hi there, >> >> As the subject states: "Is it possible to set a replication factor per >> column family?" >> >> Could not

  1   2   3   >