On Mon, Jan 23, 2012 at 10:49 AM, Alex Major <al3...@gmail.com> wrote:
> Think there's some confusion as Tamar has two emails in the same thread
> addressing two separate concerns.
>
> I was referring to the discussion over Composite Key support that Tamar
> quoted in his second email (the one that I replied to and quoted), not his
> first/original question about JDBC.

Sorry, I meant to reply to the first message in the thread.

> On Mon, Jan 23, 2012 at 3:43 PM, Eric Evans <eev...@acunu.com> wrote:
>>
>> On Mon, Jan 23, 2012 at 8:40 AM, Alex Major <al3...@gmail.com> 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
>> > there
>> > are some incompatible BC changes and they want to give an easier
>> > migration.
>> > 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 <ta...@tok-media.com>
>> > wrote:
>> >>
>> >> If I understand correctly this is due in Cassandra 1.1. Does  anyone
>> >> know
>> >> when it is planned to be released?
>> >>
>> >> Thanks
>> >>
>> >> Tamar
>> >>
>> >>
>> >> On January 23, 2012 at 11:13 AM Jawahar Prasad <w3engine...@gmail.com>
>> >> 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 < ta...@tok-media.com >
>> >> wrote:
>> >>
>> >> Hi!
>> >>
>> >> Is there something that is a real limitation of CQL currently. For
>> >> example
>> >> composite keys \ column names?
>> >>
>> >> Tamar
>> >>
>> >>
>> >>
>> >>
>> >> On January 23, 2012 at 10:29 AM Jawahar Prasad < w3engine...@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
>> >> will
>> >> 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 < ta...@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
>> >> brings
>> >> 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 < w3engine...@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
>> >> solved.
>> >> 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").newInstance();
>> >>
>> >>                    CassandraDriver is in my classpath.
>> >>
>> >>                    Any idea?
>> >>                    Tamar
>> >>
>> >>
>> >>
>> >>
>> >>
>> >>
>> >>
>> >>
>> >>
>> >>
>> >
>> >
>>
>>
>>
>> --
>> Eric Evans
>> Acunu | http://www.acunu.com | @acunu
>
>



-- 
Eric Evans
Acunu | http://www.acunu.com | @acunu

Reply via email to