Re: easy interface to Cassandra

2010-01-15 Thread Ted Zlatanov
On Thu, 14 Jan 2010 14:34:58 -0800 Tatu Saloranta tsalora...@gmail.com wrote: TS No specific proposal, or immediate need. But I do know that such TS short-hand notations / languages are popular for accessing structured TS data (xpath/xquery, oql, even sql). Sure. The idea is to make Cassandra

Re: easy interface to Cassandra

2010-01-15 Thread Tatu Saloranta
2010/1/15 Ted Zlatanov t...@lifelogs.com: ... So coming back to the query language, you either simulate OO queries, which Thrift already does as badly as can be expected, or you drop down to multiple strings, which IMHO is a bad compromise, or you use a single string like most universal APIs

nning on default stage - beware

2010-01-15 Thread B. Todd Burruss
2010-01-15 11:03:03,317 WARN [MESSAGE-DESERIALIZER-POOL:3] [MessagingService.java:555] Running on default stage - beware what does the above message mean, and should i really beware. this was printed when i auto bootstrapped a new server into the cluster. the old nodes in the cluster had very

something bizzare occured

2010-01-15 Thread B. Todd Burruss
i'm trying to understand why cassandra 0.5 RC3 is behaving like it is. I have a 5 node cluster, RF=3, W=ALL, R=1. all is well if all the nodes are running. if i remove a node, then puts fail - doesn't matter which host i'm connected to. if i restart the node, then all goes back to normal

Re: something bizzare occured

2010-01-15 Thread Jonathan Ellis
On Fri, Jan 15, 2010 at 2:39 PM, B. Todd Burruss bburr...@real.com wrote: i'm trying to understand why cassandra 0.5 RC3 is behaving like it is.  I have a 5 node cluster, RF=3, W=ALL, R=1.  all is well if all the nodes are running.  if i remove a node, then puts fail - doesn't matter which host

Re: something bizzare occured

2010-01-15 Thread B. Todd Burruss
that makes sense, but i have had trouble understanding why hinted-handoff doesn't take care of it? if not, how many nodes would i need to prevent this? thx On Fri, 2010-01-15 at 12:43 -0800, Jonathan Ellis wrote: On Fri, Jan 15, 2010 at 2:39 PM, B. Todd Burruss bburr...@real.com wrote: i'm

Re: something bizzare occured

2010-01-15 Thread Jonathan Ellis
it has to do w/ consistency guarantees: http://wiki.apache.org/cassandra/HintedHandoff use quorum reads and writes instead of ALL on writes if you need both consistency and availability -Jonathan On Fri, Jan 15, 2010 at 2:50 PM, B. Todd Burruss bburr...@real.com wrote: that makes sense, but i

Re: something bizzare occured

2010-01-15 Thread B. Todd Burruss
so with 5 node cluster, R=W=Q and RF=3, i can only loose one consecutive node on the consistency ring, correct? On Fri, 2010-01-15 at 12:54 -0800, Jonathan Ellis wrote: it has to do w/ consistency guarantees: http://wiki.apache.org/cassandra/HintedHandoff use quorum reads and writes instead

Re: something bizzare occured

2010-01-15 Thread B. Todd Burruss
so i changed to QUORUM and retested. puts again work as expected when a node is down. thx! however, the response time for puts went from about 5ms to 400ms because i took 1 of the 5 nodes out. ROW-MUTATION-STAGE pendings jumped into to 100's on one of the remaining nodes and the WriteLatency

Re: something bizzare occured

2010-01-15 Thread Brandon Williams
On Fri, Jan 15, 2010 at 5:43 PM, B. Todd Burruss bburr...@real.com wrote: so i changed to QUORUM and retested. puts again work as expected when a node is down. thx! however, the response time for puts went from about 5ms to 400ms because i took 1 of the 5 nodes out. ROW-MUTATION-STAGE

refill claimed to have refilled the buffer, but didn't

2010-01-15 Thread kevin
hi i get this this error sporadically. how to figure out what is going on? thanks column_families = client.get_slice(keyspace, key, column_parent, predicate, ConsistencyLevel.ONE) File /home/work/common/lazyboy/connection.py, line 109, in func return getattr(client,

Re: something bizzare occured

2010-01-15 Thread B. Todd Burruss
yes it does. i'll get trunk and try again. thx! On Fri, 2010-01-15 at 15:50 -0800, Brandon Williams wrote: On Fri, Jan 15, 2010 at 5:43 PM, B. Todd Burruss bburr...@real.com wrote: so i changed to QUORUM and retested. puts again work as expected when a node is

Re: refill claimed to have refilled the buffer, but didn't

2010-01-15 Thread Jonathan Ellis
That's a thrift error -- if you have your python thrift in sync with the version the server is running then it must be a thrift bug. On Fri, Jan 15, 2010 at 5:52 PM, kevin kevincastigli...@gmail.com wrote: hi i get this this error sporadically. how to figure out what is going on? thanks