Re: Question regarding multi datacenter and LOCAL_QUORUM

2013-03-23 Thread aaron morton
' : 'org.apache.cassandra.io.compress.SnappyCompressor'}; 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

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.java

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
, Dwight Smith dwight.sm...@genesyslab.com 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 [Thrift:1

RE: Question regarding multi datacenter and LOCAL_QUORUM

2013-03-21 Thread Dwight Smith
...@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 ? Yes - using NetworkTopologyStrategy mmm, maybe it thinks the other nodes are down. Cheers

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 multi

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 Dwight Smith
: 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 To: user

RE: Question regarding multi datacenter and LOCAL_QUORUM

2013-03-20 Thread Tycen Stafford
[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: 56713727820156410577229101238628035242 .146 initial_token

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 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 the tokens

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 dwight.sm...@genesyslab.comwrote: Hi ** ** I have 2 data

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 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 Smith

Re: Question regarding multi datacenter and LOCAL_QUORUM

2013-03-20 Thread Derek Williams
*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, which all appear to be in the same datacenter as 146

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 Tycen Stafford
] 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 ring output follows, the tokens in AZ2 are offset by 100: Address DC RackStatus State Load

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 tstaff...@medio.com 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