Return-Path: X-Original-To: apmail-cassandra-user-archive@www.apache.org Delivered-To: apmail-cassandra-user-archive@www.apache.org Received: from mail.apache.org (hermes.apache.org [140.211.11.3]) by minotaur.apache.org (Postfix) with SMTP id 2A16F99F9 for ; Mon, 23 Jan 2012 15:43:54 +0000 (UTC) Received: (qmail 22500 invoked by uid 500); 23 Jan 2012 15:43:51 -0000 Delivered-To: apmail-cassandra-user-archive@cassandra.apache.org Received: (qmail 22374 invoked by uid 500); 23 Jan 2012 15:43:51 -0000 Mailing-List: contact user-help@cassandra.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: user@cassandra.apache.org Delivered-To: mailing list user@cassandra.apache.org Received: (qmail 22366 invoked by uid 99); 23 Jan 2012 15:43:50 -0000 Received: from athena.apache.org (HELO athena.apache.org) (140.211.11.136) by apache.org (qpsmtpd/0.29) with ESMTP; Mon, 23 Jan 2012 15:43:50 +0000 X-ASF-Spam-Status: No, hits=-0.7 required=5.0 tests=RCVD_IN_DNSWL_LOW,SPF_PASS X-Spam-Check-By: apache.org Received-SPF: pass (athena.apache.org: domain of eevans@acunu.com designates 209.85.160.44 as permitted sender) Received: from [209.85.160.44] (HELO mail-pw0-f44.google.com) (209.85.160.44) by apache.org (qpsmtpd/0.29) with ESMTP; Mon, 23 Jan 2012 15:43:45 +0000 Received: by pbbb11 with SMTP id b11so360269pbb.31 for ; Mon, 23 Jan 2012 07:43:24 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=acunu.com; s=google; h=mime-version:x-originating-ip:in-reply-to:references:date :message-id:subject:from:to:content-type:content-transfer-encoding; bh=xVJND8daQt2F+vaBg03CgPqaoiwsWLUaq6VoNefXiJQ=; b=dHNHtNAGqNpcMoweLzmzfknowwFeMYyXaxsDoPF/1/0slC7WbPBEWkpby2ZS0cQs7d RbSTwq4OmOlzuIgq4T4rgvt1+7/qOB7awptlzscoiDvE8DelnJKQmHCuUrys2dhalwEw +8V8m27NDzSNCsjwRwT9VuEpBI2czrdJw9fT4= MIME-Version: 1.0 Received: by 10.68.75.132 with SMTP id c4mr22897969pbw.23.1327333404621; Mon, 23 Jan 2012 07:43:24 -0800 (PST) Received: by 10.142.210.3 with HTTP; Mon, 23 Jan 2012 07:43:24 -0800 (PST) X-Originating-IP: [72.177.143.125] In-Reply-To: References: <4f1d175a.0a40650a.6f8c.ffffd8deSMTPIN_ADDED@mx.google.com> <4f1d2345.05bb650a.29be.fffffd53SMTPIN_ADDED@mx.google.com> <4f1d6723.1178640a.7d49.22bfSMTPIN_ADDED@mx.google.com> Date: Mon, 23 Jan 2012 09:43:24 -0600 Message-ID: Subject: Re: CQL jdbc From: Eric Evans To: user@cassandra.apache.org Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: quoted-printable On Mon, Jan 23, 2012 at 8:40 AM, Alex Major wrote: > Based on current discussions it looks like it will be in C* 1.1, but won'= t > be in the default cql package - you'll need to opt into cql3 driver as th= ere > are some incompatible BC changes and they want to give an easier migratio= n. > It will be in the default standard distribution in 1.2. No. To get the JDBC driver, you need to install it from its project page. http://code.google.com/a/apache-extras.org/p/cassandra-jdbc/ > On Mon, Jan 23, 2012 at 1:56 PM, Tamar Fraenkel wro= te: >> >> If I understand correctly this is due in=A0Cassandra=A01.1. Does =A0anyo= ne know >> when it is planned to be released? >> >> Thanks >> >> Tamar >> >> >> On January 23, 2012 at 11:13 AM Jawahar Prasad >> wrote: >> >> Hi.. >> Yes there is. But just 2 days back, they have released a patch: >> >> https://issues.apache.org/jira/browse/CASSANDRA-3761 >> >> I am in the discussion, you can join as well >> >> Regards >> Prasad >> >> On Mon, Jan 23, 2012 at 2:37 PM, Tamar Fraenkel < tamar@tok-media.com > >> wrote: >> >> Hi! >> >> Is there something that is a real limitation of CQL currently. For examp= le >> composite keys \ column names? >> >> Tamar >> >> >> >> >> On January 23, 2012 at 10:29 AM Jawahar Prasad < w3engineers@gmail.com > >> wrote: >> >> Hi.. >> I am using CQL for the below reasons: >> >> 1. Hector is better than Thrift, but CQL is better than Hector in terms = of >> understanding and quickly getting things done >> 2. Hector is third party, CQL is from cassandra developers, So there wil= l >> be a good support. >> 3. As per Eric, CQL will be the future and will replace all third party >> clients. >> >> And as i got used to SQL, CQL makes more sense to me. >> >> Regards >> Prasad >> >> On Mon, Jan 23, 2012 at 1:46 PM, Tamar Fraenkel < tamar@tok-media.com > >> wrote: >> >> Thanks, will give it a try. By the way, I had the same issue when trying >> to work with Hector and I just took all the jars that Hector tutorial br= ings >> using Maven. Most are in the list below. >> >> >> >> Another question for that matter, what do you recommend working with >> Hector or CQL? >> >> >> >> Tamar >> >> >> >> >> On January 23, 2012 at 8:38 AM Jawahar Prasad < w3engineers@gmail.com > >> wrote: >> >> Hello >> I just thought I will tell you how I solved it: >> >> When I generated a jar from the jdbc code, it generated the following >> jars: >> >> cassandra-clientutil.jar >> cassandra-thrift.jar >> commons-codec.jar >> commons-lang.jar >> commons-logging.jar >> guava.jar >> httpclient.jar >> httpcore.jar >> libthrift.jar >> servlet-api.jar >> cassandra-jdbc-1.0.5-SNAPSHOT.jar >> slf4j-api-1.6.1.jar >> slf4j-log4j12-1.6.1.jar >> >> >> I included all the above in my current project and the problem got solve= d. >> If you dont include sf4j, you might get logging errors. So just include = all >> of them. >> >> Regards >> Prasad >> >> >> Hi! >> I have cassandra-clientutil, cassandra-jdbc and >> cassandra-thrift in my libs, but >> I get >> >> java.lang.NoClassDefFoundError: Could not initialize >> class >> org.apache.cassandra.cql.jdbc.CassandraDriver >> when running >> >> Class.forName("org.apache.cassandra.cql.jdbc.CassandraDriver").newInstan= ce(); >> >> CassandraDriver is in my classpath. >> >> Any idea? >> Tamar >> >> >> >> >> >> >> >> >> >> > > --=20 Eric Evans Acunu |=A0http://www.acunu.com=A0| @acunu