Re: Question regarding multi datacenter and LOCAL_QUORUM

2013-03-23 Thread aaron morton
ction_strategy = > 'org.apache.cassandra.db.compaction.SizeTieredCompactionStrategy' > and caching = 'KEYS_ONLY' > and compression_options = {'sstable_compression' : > 'org.apache.cassandra.io.compress.SnappyCompressor'}; > > Regards > >

RE: Question regarding multi datacenter and LOCAL_QUORUM

2013-03-21 Thread Dwight Smith
ppyCompressor'}; Regards -Original Message- From: aaron morton [mailto:aa...@thelastpickle.com] Sent: Thursday, March 21, 2013 12:47 PM To: user@cassandra.apache.org Subject: Re: Question regarding multi datacenter and LOCAL_QUORUM Can you provide the full create keyspace statement ? >

Re: Question regarding multi datacenter and LOCAL_QUORUM

2013-03-21 Thread aaron morton
AM, Dwight Smith wrote: > Yes – using NetworkTopologyStrategy > > From: aaron morton [mailto:aa...@thelastpickle.com] > Sent: Thursday, March 21, 2013 10:22 AM > To: user@cassandra.apache.org > Subject: Re: Question regarding multi datacenter and LOCAL_QUORUM > > DEBUG

RE: Question regarding multi datacenter and LOCAL_QUORUM

2013-03-21 Thread Dwight Smith
Yes - using NetworkTopologyStrategy From: aaron morton [mailto:aa...@thelastpickle.com] Sent: Thursday, March 21, 2013 10:22 AM To: user@cassandra.apache.org Subject: Re: Question regarding multi datacenter and LOCAL_QUORUM DEBUG [Thrift:1] 2013-03-19 00:00:53,313 ReadCallback.java (line 79

Re: Question regarding multi datacenter and LOCAL_QUORUM

2013-03-21 Thread aaron morton
> DEBUG [Thrift:1] 2013-03-19 00:00:53,313 ReadCallback.java (line 79) Blockfor > is 2; setting up requests to /xx.yy.zz.146,/xx.yy.zz.143,/xx.yy.zz.145 > DEBUG [Thrift:1] 2013-03-19 00:00:53,334 CassandraServer.java (line 306) > get_slice > DEBUG [Thrift:1] 2013-03-19 00:00:53,334 ReadCallback.j

Re: Question regarding multi datacenter and LOCAL_QUORUM

2013-03-20 Thread Tyler Hobbs
On Wed, Mar 20, 2013 at 3:18 PM, Tycen Stafford wrote: > I don’t think that’s correct for a mult-dc ring, but you’ll want to hear a > final answer from someone more authoritative. I could easily be wrong. > Try using the built in token generating tool (token-generator) – I don’t > seem to have i

RE: Question regarding multi datacenter and LOCAL_QUORUM

2013-03-20 Thread Tycen Stafford
;2": 141784319550391026443072753096570088106 } } -Tycen From: Dwight Smith [mailto:dwight.sm...@genesyslab.com] Sent: Wednesday, March 20, 2013 11:37 AM To: Dwight Smith; 'user@cassandra.apache.org' Subject: RE: Question regarding multi datacenter and LOCAL_QUORUM Hmm - the rin

RE: Question regarding multi datacenter and LOCAL_QUORUM

2013-03-20 Thread Dwight Smith
Yes – just when the node goes down. I’ll check 4705. Thanks From: Derek Williams [mailto:de...@fyrie.net] Sent: Wednesday, March 20, 2013 12:14 PM To: user@cassandra.apache.org Subject: Re: Question regarding multi datacenter and LOCAL_QUORUM Are those timeouts happening right when the node

Re: Question regarding multi datacenter and LOCAL_QUORUM

2013-03-20 Thread Derek Williams
0, 2013 11:50 AM > *To:* user@cassandra.apache.org > *Subject:* Re: Question regarding multi datacenter and LOCAL_QUORUM > > ** ** > > I'm think I need help with pointing out what the problem is. The log you > posted only contains references to 143, 145, and 146,

RE: Question regarding multi datacenter and LOCAL_QUORUM

2013-03-20 Thread Dwight Smith
Subject: Re: Question regarding multi datacenter and LOCAL_QUORUM I'm think I need help with pointing out what the problem is. The log you posted only contains references to 143, 145, and 146, which all appear to be in the same datacenter as 146? On Wed, Mar 20, 2013 at 11:29 AM, Dwight

RE: Question regarding multi datacenter and LOCAL_QUORUM

2013-03-20 Thread Dwight Smith
Yes that is correct – the log is from 146. The client connects to nodes in AZ1. From: Derek Williams [mailto:de...@fyrie.net] Sent: Wednesday, March 20, 2013 11:50 AM To: user@cassandra.apache.org Subject: Re: Question regarding multi datacenter and LOCAL_QUORUM I'm think I need help

Re: Question regarding multi datacenter and LOCAL_QUORUM

2013-03-20 Thread Derek Williams
I'm think I need help with pointing out what the problem is. The log you posted only contains references to 143, 145, and 146, which all appear to be in the same datacenter as 146? On Wed, Mar 20, 2013 at 11:29 AM, Dwight Smith wrote: > Hi > > ** ** > > I have 2 data centers – with 3 nodes

RE: Question regarding multi datacenter and LOCAL_QUORUM

2013-03-20 Thread Dwight Smith
AZ2 RAC2Up Normal 483.18 KB 100.00% 113427455640312821154458202477256070585 From: Dwight Smith Sent: Wednesday, March 20, 2013 11:29 AM To: 'user@cassandra.apache.org' Subject: RE: Question regarding multi datacenter and LOCAL_QUORUM Actually

RE: Question regarding multi datacenter and LOCAL_QUORUM

2013-03-20 Thread Dwight Smith
Actually the tokens in AZ2 are not correct. I'll get those corrected - thanks for the pointer. From: Tycen Stafford [mailto:tstaff...@medio.com] Sent: Wednesday, March 20, 2013 11:25 AM To: user@cassandra.apache.org Subject: RE: Question regarding multi datacenter and LOCAL_QUORUM Okay -

RE: Question regarding multi datacenter and LOCAL_QUORUM

2013-03-20 Thread Tycen Stafford
m: Dwight Smith [mailto:dwight.sm...@genesyslab.com] Sent: Wednesday, March 20, 2013 11:10 AM To: 'user@cassandra.apache.org' Subject: RE: Question regarding multi datacenter and LOCAL_QUORUM >From the yamls .143 initial_token: 0 .145 initial_token: 5671372782015641057722910123862

RE: Question regarding multi datacenter and LOCAL_QUORUM

2013-03-20 Thread Dwight Smith
RE: Question regarding multi datacenter and LOCAL_QUORUM Did you alternate your tokens? I may be off base - but if not then that's why you might be seeing cross-dc request. -Tycen From: Dwight Smith [mailto:dwight.sm...@genesyslab.com] Sent: Wednesday, March 20, 2013 10:30 AM

RE: Question regarding multi datacenter and LOCAL_QUORUM

2013-03-20 Thread Dwight Smith
Slight correction - replication factor is 3. Will obtain nodetool ring info to verify tokens. From: Dwight Smith [mailto:dwight.sm...@genesyslab.com] Sent: Wednesday, March 20, 2013 10:30 AM To: user@cassandra.apache.org Subject: Question regarding multi datacenter and LOCAL_QUORUM Hi I have 2

RE: Question regarding multi datacenter and LOCAL_QUORUM

2013-03-20 Thread Tycen Stafford
Did you alternate your tokens? I may be off base - but if not then that's why you might be seeing cross-dc request. -Tycen From: Dwight Smith [mailto:dwight.sm...@genesyslab.com] Sent: Wednesday, March 20, 2013 10:30 AM To: user@cassandra.apache.org Subject: Question regarding

Question regarding multi datacenter and LOCAL_QUORUM

2013-03-20 Thread Dwight Smith
Hi I have 2 data centers - with 3 nodes in each DC - version 1.1.6 - replication factor 2 - topology properties: # Cassandra Node IP=Data Center:Rack xx.yy.zz.143=AZ1:RAC1 xx.yy.zz.145=AZ1:RAC1 xx.yy.zz.146=AZ1:RAC1 xx.yy.zz.147=AZ2:RAC2 xx.yy.zz.148=AZ2:RAC2 xx.yy.zz.149=AZ2:RAC2 Using LOCAL