Some background: I am part of a team which is working on a rather large internet program. It is currently using an RDBMS, but we want to start using Cassandra. I'm working in Eclipse.
I downloaded and unzipped hector-0.6.0-11.zip and got a whole bunch of jars, most of which don't look like Hector. Is it possible that this distribution includes what I need from Thrift? (That would be great!) Now I'm noticing that it has apache-cassandra-0.6.0.jar - should I delete this? 04/21/2010 09:31 AM 1,275,010 apache-cassandra-0.6.0.jar 04/21/2010 09:31 AM 2,189 cassandra-javautils.jar 04/21/2010 09:31 AM 24,360 clhm-production.jar 04/21/2010 09:31 AM 58,160 commons-codec-1.4.jar 04/21/2010 09:31 AM 96,203 commons-pool-1.5.3.jar 04/21/2010 09:31 AM 639,592 google-collections-1.0.jar 04/21/2010 09:31 AM 43,812 hector-0.6.0-11-sources.jar 04/21/2010 09:31 AM 90,548 hector-0.6.0-11.jar 04/21/2010 09:31 AM 255,915 high-scale-lib.jar 04/21/2010 09:31 AM 188,158 libthrift-r917130.jar 04/21/2010 09:31 AM 367,444 log4j-1.2.14.jar 04/21/2010 09:31 AM 102,780 perf4j-0.9.12.jar 04/21/2010 09:31 AM 23,445 slf4j-api-1.5.8.jar 04/21/2010 09:31 AM 9,679 slf4j-log4j12-1.5.8.jar On Tue, Apr 27, 2010 at 1:35 PM, Ran Tavory <ran...@gmail.com> wrote: > good link, thanks, can I get one done for hector as? :) > There are some wiki pages and blog posts in the above mentioned links so > they are a good start for hector, then there are some unit tests, but I > certainly would appreciate help from the community here. > > On Tue, Apr 27, 2010 at 1:25 PM, Swaroop Jayanthi <swaro...@gmail.com>wrote: > >> Hi Ran, >> >> I am sorry if i am wrong in any sense, and i am new to NOSQL DB but >> curious learn. Here is a link (http://www.sodeso.nl/?p=354) that details >> explanation of Thrift API with Cassandra. >> >> But facing some problem with hector how it will work and any example >> similar to above for Hector. >> >> Thanks >> Swaroop >> >> >> On Tue, Apr 27, 2010 at 3:52 PM, Ran Tavory <ran...@gmail.com> wrote: >> >>> That was a lame joke - here it is (in the mail). I can use some help with >>> it, but what we have now for hector is here >>> http://wiki.github.com/rantav/hector/ >>> <http://wiki.github.com/rantav/hector/>And for thrift, at lease the >>> parts I know of: http://wiki.apache.org/cassandra/ThriftExamples but you >>> should look at http://wiki.apache.org/cassandra there might be more >>> >>> >>> On Tue, Apr 27, 2010 at 1:07 PM, Swaroop Jayanthi <swaro...@gmail.com>wrote: >>> >>>> Hi Ran, >>>> >>>> Where is the online help or documentation with few examples >>>> (similar thrift -. Is there any good documentation for working with >>>> Thrift and/or Hector??? >>>> here it is) for hector, please provide the link. >>>> >>>> Thanks >>>> Swaroop >>>> >>>> >>>> On Tue, Apr 27, 2010 at 3:31 PM, Ran Tavory <ran...@gmail.com> wrote: >>>> >>>>> Hi David, I have a few questions (and answers), see inline >>>>> >>>>> On Tue, Apr 27, 2010 at 12:49 PM, David Boxenhorn >>>>> <da...@lookin2.com>wrote: >>>>> >>>>>> Hi all, >>>>>> >>>>>> I'm trying to install a Cassandra development environment for Java. It >>>>>> is much harder than I thought it would be!!!! >>>>>> >>>>>> I got Cassandra up and running with the CLI. So now I'm trying to get >>>>>> the Java interface up. >>>>>> >>>>>> Thrift is installed, supposedly. >>>>>> >>>>> Installed? What did you install? >>>>> To use cassandra from the client side you only need some jars >>>>> (cassandra jar, and thrift jar iirc). No need to install something. >>>>> >>>>> >>>>>> >>>>>> Basic questions (thanks in advance): >>>>>> >>>>>> 1. Is it easier to get Thrift or Hector up? I just want to get >>>>>> SOMETHING to work right now, even if it's not the best. >>>>>> >>>>> If you just need to get something really simple up then use thrift. >>>>> Hector isn't hard as well, just just requires you to download one more zip >>>>> file and add the jars to your classpath. >>>>> See http://wiki.apache.org/cassandra/ThriftExamples#Java >>>>> >>>>> >>>>>> 2. Do I need Thrift for Hector? >>>>>> >>>>> You need to have thrift.jar in your classpath as well as cassandra.jar. >>>>> If you choose to use hector, there are a few more jars to add to the >>>>> classpath, see the ones from the lib folder here >>>>> http://github.com/downloads/rantav/hector/hector-0.6.0-11.zip >>>>> >>>>> >>>>>> 3. Is there any good documentation for working with Thrift and/or >>>>>> Hector??? >>>>>> >>>>> here it is ;) >>>>> >>>>>> 4. I tried to use Hector and I'm getting the following, does anyone >>>>>> know what it means? >>>>>> >>>>> What program spits out this output? >>>>> Is this maven? If so, hector, although it uses maven, isn't published >>>>> on a public repo. >>>>> To use hector you don't have to compile, just download the zip from >>>>> here http://github.com/downloads/rantav/hector/hector-0.6.0-11.zip >>>>> If you do with to compile, both ant and mvn work. >>>>> >>>>>> >>>>>> >>>>>> 4/27/10 10:56:52 AM IDT: Can't find artifact for >>>>>> C:\Cassandra\hector-0.6.0-11\hector-0.6.0-11.jar >>>>>> >>>>>> <default> (not open) >>>>>> >>>>>> me.prettyprint.cassandra.dao (not open) >>>>>> >>>>>> me.prettyprint.cassandra.jndi (not open) >>>>>> >>>>>> me (not open) >>>>>> >>>>>> me.prettyprint.cassandra.testutils (not open) >>>>>> >>>>>> me.prettyprint.cassandra.utils (...) >>>>>> >>>>>> me.prettyprint.cassandra (not open) >>>>>> >>>>>> me.prettyprint.cassandra.service (...) >>>>>> >>>>>> me.prettyprint (not open) >>>>>> >>>>>> 4/27/10 10:56:57 AM IDT: Can't find artifact for >>>>>> C:\Cassandra\hector-0.6.0-11\hector-0.6.0-11.jar >>>>>> >>>>>> <default> (...) >>>>>> >>>>>> me.prettyprint.cassandra.dao (...) >>>>>> >>>>>> me.prettyprint.cassandra.jndi (...) >>>>>> >>>>>> me (...) >>>>>> >>>>>> me.prettyprint.cassandra.testutils (...) >>>>>> >>>>>> me.prettyprint.cassandra.utils (...) >>>>>> >>>>>> me.prettyprint.cassandra (...) >>>>>> >>>>>> me.prettyprint.cassandra.service (...) >>>>>> >>>>>> me.prettyprint (...) >>>>>> >>>>>> 4/27/10 10:58:16 AM IDT: Can't find artifact for >>>>>> C:\Cassandra\hector-0.6.0-11\hector-0.6.0-11.jar >>>>>> >>>>>> <default> (...) >>>>>> >>>>>> me.prettyprint.cassandra.dao (...) >>>>>> >>>>>> me.prettyprint.cassandra.jndi (...) >>>>>> >>>>>> me (...) >>>>>> >>>>>> me.prettyprint.cassandra.testutils (...) >>>>>> >>>>>> me.prettyprint.cassandra.utils (...) >>>>>> >>>>>> me.prettyprint.cassandra (...) >>>>>> >>>>>> me.prettyprint.cassandra.service (...) >>>>>> >>>>>> me.prettyprint (...) >>>>>> >>>>>> 4/27/10 10:58:20 AM IDT: Can't find artifact for >>>>>> C:\Cassandra\hector-0.6.0-11\hector-0.6.0-11.jar >>>>>> >>>>>> <default> (...) >>>>>> >>>>>> me.prettyprint.cassandra.dao (...) >>>>>> >>>>>> me.prettyprint.cassandra.jndi (...) >>>>>> >>>>>> me (...) >>>>>> >>>>>> me.prettyprint.cassandra.testutils (...) >>>>>> >>>>>> me.prettyprint.cassandra.utils (...) >>>>>> >>>>>> me.prettyprint.cassandra (...) >>>>>> >>>>>> me.prettyprint.cassandra.service (...) >>>>>> >>>>>> me.prettyprint (...) >>>>>> >>>>>> 4/27/10 11:51:13 AM IDT: Can't find artifact for >>>>>> C:\Cassandra\hector-0.6.0-11\hector-0.6.0-11.jar >>>>>> >>>>>> <default> (...) >>>>>> >>>>>> me.prettyprint.cassandra.dao (...) >>>>>> >>>>>> me.prettyprint.cassandra.jndi (...) >>>>>> >>>>>> me (...) >>>>>> >>>>>> me.prettyprint.cassandra.testutils (...) >>>>>> >>>>>> me.prettyprint.cassandra.utils (...) >>>>>> >>>>>> me.prettyprint.cassandra (...) >>>>>> >>>>>> me.prettyprint.cassandra.service (...) >>>>>> >>>>>> me.prettyprint (...) >>>>>> >>>>>> 4/27/10 11:51:24 AM IDT: Can't find artifact for >>>>>> C:\Cassandra\hector-0.6.0-11\hector-0.6.0-11.jar >>>>>> >>>>>> <default> (...) >>>>>> >>>>>> me.prettyprint.cassandra.dao (...) >>>>>> >>>>>> me.prettyprint.cassandra.jndi (...) >>>>>> >>>>>> me (...) >>>>>> >>>>>> me.prettyprint.cassandra.testutils (...) >>>>>> >>>>>> me.prettyprint.cassandra.utils (...) >>>>>> >>>>>> me.prettyprint.cassandra (...) >>>>>> >>>>>> me.prettyprint.cassandra.service (...) >>>>>> >>>>>> me.prettyprint (...) >>>>>> >>>>>> 4/27/10 11:52:12 AM IDT: Can't find artifact for >>>>>> C:\Cassandra\hector-0.6.0-11\hector-0.6.0-11.jar >>>>>> >>>>>> <default> (...) >>>>>> >>>>>> me.prettyprint.cassandra.dao (...) >>>>>> >>>>>> me.prettyprint.cassandra.jndi (...) >>>>>> >>>>>> me (...) >>>>>> >>>>>> me.prettyprint.cassandra.testutils (...) >>>>>> >>>>>> me.prettyprint.cassandra.utils (...) >>>>>> >>>>>> me.prettyprint.cassandra (...) >>>>>> >>>>>> me.prettyprint.cassandra.service (...) >>>>>> >>>>>> me.prettyprint (...) >>>>>> >>>>>> 4/27/10 11:52:16 AM IDT: Can't find artifact for >>>>>> C:\Cassandra\hector-0.6.0-11\hector-0.6.0-11.jar >>>>>> >>>>>> <default> (...) >>>>>> >>>>>> me.prettyprint.cassandra.dao (...) >>>>>> >>>>>> me.prettyprint.cassandra.jndi (...) >>>>>> >>>>>> me (...) >>>>>> >>>>>> me.prettyprint.cassandra.testutils (...) >>>>>> >>>>>> me.prettyprint.cassandra.utils (...) >>>>>> >>>>>> me.prettyprint.cassandra (...) >>>>>> >>>>>> me.prettyprint.cassandra.service (...) >>>>>> >>>>>> me.prettyprint (...) >>>>>> >>>>>> 4/27/10 11:52:24 AM IDT: Can't find artifact for >>>>>> C:\Cassandra\hector-0.6.0-11\hector-0.6.0-11.jar >>>>>> >>>>>> <default> (...) >>>>>> >>>>>> me.prettyprint.cassandra.dao (...) >>>>>> >>>>>> me.prettyprint.cassandra.jndi (...) >>>>>> >>>>>> me (...) >>>>>> >>>>>> me.prettyprint.cassandra.testutils (...) >>>>>> >>>>>> me.prettyprint.cassandra.utils (...) >>>>>> >>>>>> me.prettyprint.cassandra (...) >>>>>> >>>>>> me.prettyprint.cassandra.service (...) >>>>>> >>>>>> me.prettyprint (...) >>>>>> >>>>>> 4/27/10 11:52:28 AM IDT: Can't find artifact for >>>>>> C:\Cassandra\hector-0.6.0-11\hector-0.6.0-11.jar >>>>>> >>>>>> <default> (...) >>>>>> >>>>>> me.prettyprint.cassandra.dao (...) >>>>>> >>>>>> me.prettyprint.cassandra.jndi (...) >>>>>> >>>>>> me (...) >>>>>> >>>>>> me.prettyprint.cassandra.testutils (...) >>>>>> >>>>>> me.prettyprint.cassandra.utils (...) >>>>>> >>>>>> me.prettyprint.cassandra (...) >>>>>> >>>>>> me.prettyprint.cassandra.service (...) >>>>>> >>>>>> me.prettyprint (...) >>>>>> >>>>>> 4/27/10 11:53:03 AM IDT: Can't find artifact for >>>>>> C:\Cassandra\hector-0.6.0-11\hector-0.6.0-11.jar >>>>>> >>>>>> <default> (...) >>>>>> >>>>>> me.prettyprint.cassandra.dao (...) >>>>>> >>>>>> me.prettyprint.cassandra.jndi (...) >>>>>> >>>>>> me (...) >>>>>> >>>>>> me.prettyprint.cassandra.testutils (...) >>>>>> >>>>>> me.prettyprint.cassandra.utils (...) >>>>>> >>>>>> me.prettyprint.cassandra (...) >>>>>> >>>>>> me.prettyprint.cassandra.service (...) >>>>>> >>>>>> me.prettyprint (...) >>>>>> >>>>>> 4/27/10 12:17:19 PM IDT: Can't find artifact for >>>>>> C:\Cassandra\hector-0.6.0-11\hector-0.6.0-11.jar >>>>>> >>>>>> <default> (...) >>>>>> >>>>>> me.prettyprint.cassandra.dao (...) >>>>>> >>>>>> me.prettyprint.cassandra.jndi (...) >>>>>> >>>>>> me (...) >>>>>> >>>>>> me.prettyprint.cassandra.testutils (...) >>>>>> >>>>>> me.prettyprint.cassandra.utils (...) >>>>>> >>>>>> me.prettyprint.cassandra (...) >>>>>> >>>>>> me.prettyprint.cassandra.service (...) >>>>>> >>>>>> me.prettyprint (...) >>>>>> >>>>>> >>>>>> >>>>>> >>>>>> >>>>> >>>>> >>>> >>> >> >