New to Cassandra, I'm using the latest release 1.2, wondering which java client is best for CQL3?
In an effort to consolidate free help offered for our products we have decided to move these forums to a more widely used forum. Please use one of the following queries (or any combination):
- Cassandra: tag search or plain text search
- DataStax Enterprise: tag search or plain text search
- DataStax OpsCenter: tag search or plain text search
Which java client is best to handle CQL3?(7 posts) (3 voices)
I don't know, but in the webinar (http://www.datastax.com/resources/webinars/collegecredit, see C*hristmas Comes Early at the bottom of the page), the presenter said he preferred Astyanax.
Thank you, guys. Trying Astyanax, will update my experience later.
Great--here's a tip that I learned the hard way. When building the new Java driver for use with CQL 3 and Astyanax, I needed to skip the CCM tests by using execute: mvn install -Dmaven.test.skip=true. You can then add the jar in the driver-core/target directory to your eclipse project as shown in the C*hristmas Comes Early by Brian ONeill.
Astyanax dosen't work with Cassandra 1.2. I tried their examples: https://github.com/Netflix/astyanax/wiki/Cql-and-cql3. Writing data dosen't work. Reading data works partially, I can read row out but parsing composite column fail.
BTW, I'm using Astyanax version 1.56.21.
Sorry you had a problem. By default, you do not have write permission on the database /var/lib/cassandra/*. See step 4 in http://www.datastax.com/docs/1.2/install/install_bintar#steps-to-install-cassandra.
I got the read and write to work using the example in the webinar (http://www.datastax.com/resources/webinars/collegecredit, see C*hristmas Comes Early at the bottom of the page). Used the latest Astyanax, and the pre-release version of the DataStax Java Driver. Please see post http://www.datastax.com/support-forums/topic/datastax-java-driver for some tips.
I had to put everything on the localhost.