Re: client API

2011-06-16 Thread Jonathan Ellis
Cassandra also uses a bunch of classes that are new in JDK6. JDK5 is end-of-lifed, time to let it rest in piece. On Thu, Jun 16, 2011 at 10:41 PM, aaron morton wrote: > "The Thrift Java compiler creates code that is not compliant with Java 5." > > https://issues.apache.org/jira/browse/THRIFT-117

Re: client API

2011-06-16 Thread aaron morton
"The Thrift Java compiler creates code that is not compliant with Java 5." https://issues.apache.org/jira/browse/THRIFT-1170 So you may have trouble getting the thrift API to run. Cheers - Aaron Morton Freelance Cassandra Developer @aaronmorton http://www.thelastpickle.com On

client API

2011-06-16 Thread karim abbouh
i use jdk1.6 to install and launch cassandra in a linux platform,but can i use jdk1.5 for my cassandra Client ?

Re: AVRO client API

2010-06-18 Thread Tatu Saloranta
On Fri, Jun 18, 2010 at 4:57 PM, Miguel Verde wrote: > On Fri, Jun 18, 2010 at 6:23 PM, Tatu Saloranta > 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 I wasn't aware of being >> able to

Re: AVRO client API

2010-06-18 Thread Miguel Verde
On Fri, Jun 18, 2010 at 6:23 PM, Tatu Saloranta 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 I wasn't aware of being > able to use it for encoding data. > Likewise with Thrift. > Yes, each

Re: AVRO client API

2010-06-18 Thread Tatu Saloranta
On Fri, 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 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 vee

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 a

Re: AVRO client API

2010-06-18 Thread Paul Brown
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 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

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 wa

Re: AVRO client API

2010-06-18 Thread Paul Brown
On Jun 18, 2010, at 8:01 AM, Eric Evans wrote: > 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? > T

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 c

AVRO client API

2010-06-17 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: Using Cassandra via the Erlang Thrift Client API (HOW ??)

2010-06-08 Thread nilskyone
_server:handle_msg/5 in call from proc_lib:init_p_do_apply/3 Is there anyone who encountered the problem above. :) thanks in advanced :) - Niel Riddle :) -- View this message in context: http://cassandra-user-incubator-apache-org.3065146.n2.nabble.com/Using-Cassandra-via-the-Erlang-Thrift-Client-API-HOW-tp4672926p5152514.html Sent from the cassandra-u...@incubator.apache.org mailing list archive at Nabble.com.

Re: Which client API to choose?

2010-03-29 Thread Jonathan Ellis
I went ahead and removed the SP example from that wiki page. On Wed, Mar 24, 2010 at 1:22 PM, Jonathan Ellis wrote: > Should we just remove that from the wiki, seeing as how we have the > same (?) sample in contrib/ where it is more likely to be kept up to > date? > > 2010/3/24 Roland Hänel : >>

Re: Which client API to choose?

2010-03-29 Thread Charlie Mason
On Wed, Mar 24, 2010 at 5:07 PM, Peter Chang wrote: > Hector is the way to go if you're using java. I'm using it right now and > it's made things worlds easier. > The reason why it wasn't bundled was because it's a separate and relatively > new project. I think it's under a month old and it was do

Re: Which client API to choose?

2010-03-24 Thread Jonathan Ellis
Should we just remove that from the wiki, seeing as how we have the same (?) sample in contrib/ where it is more likely to be kept up to date? 2010/3/24 Roland Hänel : > Thanks a lot for these suggestions. > > My fat client issues came mainly from the fact that the Wiki example > (http://wiki.apac

Re: Which client API to choose?

2010-03-24 Thread Roland Hänel
Thanks a lot for these suggestions. My fat client issues came mainly from the fact that the Wiki example ( http://wiki.apache.org/cassandra/ClientExamples) just doesn't work with 0.6.0beta3. - StorageService.instance() does not work because instance is a static variable, not a method -

Re: Which client API to choose?

2010-03-24 Thread Peter Chang
Hector is the way to go if you're using java. I'm using it right now and it's made things worlds easier. The reason why it wasn't bundled was because it's a separate and relatively new project. I think it's under a month old and it was done by a lone developer (Ran). Also, the Cassandra project wa

Re: Which client API to choose?

2010-03-24 Thread Tatu Saloranta
On Wed, Mar 24, 2010 at 8:45 AM, Ran Tavory wrote: > I concur with Eric, as hector developer it's easier to develop separately > (github) plus competition keeps us healthy ;) Enthusiastic +1 for this :) (both for proper layering to allow different levels of abstraction, and for goodness of some c

Re: Which client API to choose?

2010-03-24 Thread Ran Tavory
I concur with Eric, as hector developer it's easier to develop separately (github) plus competition keeps us healthy ;) On Wed, Mar 24, 2010 at 5:38 PM, Eric Evans wrote: > On Wed, 2010-03-24 at 14:15 +0100, Roland Hänel wrote: > > Still, I'm somewhat confused which API to choose if I was headin

Re: Which client API to choose?

2010-03-24 Thread Eric Evans
On Wed, 2010-03-24 at 14:15 +0100, Roland Hänel wrote: > Still, I'm somewhat confused which API to choose if I was heading for > a > bigger project > > 1. plain Thrift (for Java)? > Seems the major advantage is that Thrift is available in many > languages, but > if I'm only interested in Java that

Re: Which client API to choose?

2010-03-24 Thread Ned Wolpert
I recommend Hector myself. I've been using it inside a groovy plugin and it works well. Also, it abstracts out the connection to Cassandra, gives you the ability to pool resources, etc. Think of thrift as JDBC, and Hector as PoolMan. (if anyone remembers that wonderful project) You're still basica

Which client API to choose?

2010-03-24 Thread Roland Hänel
Hi, First of all, thanks all of you guys who are contributing to this amazing project. I've been looking at Cassandra for a couple of days now, and I'm still impressed by the whole thing. However, it wasn't all that straight-forward getting my first "hello world" programs to run with Cassandra. A