AVRO client API

2010-06-18 Thread Atul Gosain
Hi Is the client API for cassandra available in AVRO. If so, any links to examples or some documentation ? and If so, any comparison between Thrift and Avro API's to determine the better of them ? Thanks Atul

Re: Load balancing

2010-06-18 Thread Oleg Anastasjev
Mubarak Seyed seyed at apple.com writes: - How does client (application) connect to cassandra cluster? Is it always for one node (and thrift can get ring info) and send the request to connected node This depends on client library you use. Any cassandra node can accept client connections and

Re: AVRO client API

2010-06-18 Thread Eric Evans
On Fri, 2010-06-18 at 12:27 +0530, Atul Gosain wrote: Is the client API for cassandra available in AVRO. Significant parts of it, but it is not yet finished. If so, any links to examples or some documentation? There is no samples or documentation yet, sorry. and If so, any comparison

Re: Failover and slow nodes

2010-06-18 Thread Benjamin Black
Would be interesting to have a snitch that manipulated responses for read nodes based on historical response times. On Fri, Jun 18, 2010 at 8:21 AM, James Golick jamesgol...@gmail.com wrote: Our cassandra client fails over if a node times out. Aside from actual failure, repair and major

Re: Failover and slow nodes

2010-06-18 Thread Stu Hood
See https://issues.apache.org/jira/browse/CASSANDRA-981 -Original Message- From: Benjamin Black b...@b3k.us Sent: Friday, June 18, 2010 12:32pm To: user@cassandra.apache.org Subject: Re: Failover and slow nodes Would be interesting to have a snitch that manipulated responses for read

Re: Occasional 10s Timeouts on Read

2010-06-18 Thread AJ Slater
To summarize: If a request for a column comes in *after a period of several hours with no requests*, then the node servicing the request hangs while looking for its peer rather than servicing the request like it should. It then throws either a TimedOutException or a (wrong) NotFoundExeption. And

Re: java.lang.RuntimeException: java.io.IOException: Value too large for defined data type

2010-06-18 Thread Gary Dusbabek
*Hopefully* fixed. I was never able to duplicate the problem on my workstation, but I had a pretty good idea what was causing the problem. Julie, if you're in a position to apply and test the fix, it would help help us make sure we've got this one nailed down. Gary. On Thu, Jun 17, 2010 at

Re: what is the best way to truncate a column family

2010-06-18 Thread Phil Stanhope
In 0.6.x the iterating approach works ... but you need to flush and compact (after GCGraceSeconds) in order to NOT see the keys in the CF. Will the behavior of the truncate method in 0.7 require flush/compact as well? Or will it be immediate? -phil On Jun 18, 2010, at 1:29 PM, Benjamin Black

Re: AVRO client API

2010-06-18 Thread Eric Evans
On Fri, 2010-06-18 at 11:00 -0700, Paul Brown wrote: At the risk of asking about religion (but with no interest in hearing about it), why Avro instead of something like plain-old-JSON over HTTP? At the risk of having this thread veer off on a very long tangent... In a nutshell, we need a way

Cassandra dinner in Austin

2010-06-18 Thread Jeremy Hanna
As mentioned in the #cassandra IRC channel - there's going to be a dinner in Austin on July 15th for people interested in Cassandra. For those interested: http://cassandradinneraustin.eventbrite.com/ (Sorry if this doesn't apply to everyone, but everyone is welcome :)

Re: Possible bug in Cassandra MapReduce

2010-06-18 Thread Phil Stanhope
blow all the data away ... how do you do that? What is the timestamp precision that you are using when creating key/col or key/supercol/col items? I have seen a fail to write a key when the timestamp is identical to the previous timestamp of a deleted key/col. While I didn't examine the source

Re: AVRO client API

2010-06-18 Thread B. Todd Burruss
i'll jump in ... why AVRO over Thrift. can you guys point me at a comparison? (i know next to nothing about both of them) On 06/18/2010 03:41 PM, Paul Brown wrote: On Jun 18, 2010, at 2:12 PM, Eric Evans wrote: On Fri, 2010-06-18 at 11:00 -0700, Paul Brown wrote: At the risk of

Re: AVRO client API

2010-06-18 Thread Tatu Saloranta
On Fri, Jun 18, 2010 at 2:12 PM, Eric Evans eev...@rackspace.com wrote: On Fri, 2010-06-18 at 11:00 -0700, Paul Brown wrote: At the risk of asking about religion (but with no interest in hearing about it), why Avro instead of something like plain-old-JSON over HTTP? At the risk of having

Re: AVRO client API

2010-06-18 Thread Tatu Saloranta
On Fri, Jun 18, 2010 at 4:57 PM, Miguel Verde miguelitov...@gmail.com wrote: On Fri, Jun 18, 2010 at 6:23 PM, Tatu Saloranta tsalora...@gmail.com wrote: Not that I wanted to criticize choices, but do they actually allow use of JSON as encoding? Avro does use JSON for specifying schemas, but

Re: ec2 tests

2010-06-18 Thread Olivier Mallassi
I tried the following : - always one cassandra node on one EC2 m.large instance. two other m.large instance, I run 4 stress.py (50 thread each, 2 stress.py on each instance) - RAID0 EBS for data and ephemeral EBS (/dev/sda1 partition) for commit log. - -Xmx4G and I did not see any improvements

Learning-by-doing (also announcing a new Ruby Client Codename: Greek Architect)

2010-06-18 Thread Thomas Heller
Howdy! So, last week I finally got around to playing with Cassandra. After a while I understood the basics. To test this assumption I started working on my own Client implementation since Learning-by-doing is what I do and existing Ruby Clients (which are awesome) already abstracted too much for

Re: ec2 tests

2010-06-18 Thread Chris Dean
@Chris, Did you get any bench you could share with us? We're still working on it. It's a lower priority task so it will take a while to finish. So far we've run on all the AWS data centers in the US and used several different setups. We also did a test on Rackspace with one setup and some

Re: Possible bug in Cassandra MapReduce

2010-06-18 Thread Jonathan Ellis
Fixed for 0.6.3: https://issues.apache.org/jira/browse/CASSANDRA-1042 On Fri, Jun 18, 2010 at 2:49 PM, Corey Hulen c...@earnstone.com wrote: We are using MapReduce to periodical verify and rebuild our secondary indexes along with counting total records.  We started to noticed double counting

Re: Java-Client returns empty data sets after Cassandra sits for a while

2010-06-18 Thread Jonathan Ellis
I can't think of any scenario where leaving Cassandra idle would affect the results returned. I think something else is going on here. On Fri, Jun 18, 2010 at 2:05 AM, Manfred Muench docma...@domainerschoice.com wrote: Hi, I have noticed the following behaviour (bug?) which I don't completely

Re: Possible bug in Cassandra MapReduce

2010-06-18 Thread Corey Hulen
Awesome...thanks. I just downloaded the patch and applied it and verified it fixes our problems. what's the ETA on 0.6.3? (debating on weather to tolerate it or maintain our own 0.6.2+patch). -Corey On Fri, Jun 18, 2010 at 8:21 PM, Jonathan Ellis jbel...@gmail.com wrote: Fixed for 0.6.3:

Re: Possible bug in Cassandra MapReduce

2010-06-18 Thread Jonathan Ellis
Looks like the end of June. On Fri, Jun 18, 2010 at 8:38 PM, Corey Hulen c...@earnstone.com wrote: Awesome...thanks. I just downloaded the patch and applied it and verified it fixes our problems. what's the ETA on 0.6.3?  (debating on weather to tolerate it or maintain our own 0.6.2+patch).

Re: Lucandra issues

2010-06-18 Thread Jake Luciani
Hi Maxim, Lucandra doesn't support numeric queries quite yet. A workaround would be to load your numbers and convert them to strings. I'll eventually add support for this. Please feel free to help out if you can :) Jake On Jun 17, 2010, at 1:16 PM, Maxim Kramarenko