Re: client API

2011-06-17 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 aa...@thelastpickle.com wrote: The Thrift Java compiler creates code that is not compliant with Java 5.

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

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

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

2010-06-08 Thread nilskyone
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 Charlie Mason
On Wed, Mar 24, 2010 at 5:07 PM, Peter Chang pete...@gmail.com 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

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

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

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 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 rol...@haenel.me: Thanks a lot for these suggestions. My fat client issues came mainly from the fact that the Wiki example