I have been mucking around with Cassandra to see how big data works. I am mainly a Java programmer and needed a client to use in Eclipse to connect to Cassandra. In comes Hector. There is the Cassandra tutorial. I am essentially still on the Ant system (will learn Maven someday for sure). Now it requires that I have the correct libraries in the classpath to run the examples.
List of libraries required to run the examples using Cassandra 1.0.8 and Hector 1.0.6:
List of libraries required to run the examples using Cassandra 1.0.8 and Hector 1.0.6:
- apache-cassandra-thrift-1.0.8
- commons-lang-2.4
- guava-r09
- hector-core-1.0.3
- libthrift-0.6
- slf4j-api-1.6.1
- uuid-3.2.0
This isn't exhaustive. One could possibly include all the libraries in the Hector-core. Some of the jars can be found under cassandra/lib folder. Additionally, the Hector project now tracks the Cassandra versioning system. So look for an upgrade to 1.0.8 sometime soon.
This post is intended more as a collection of sources than a tutorial. Hopefully will update this into a full blown "how to" guide.