cassandra-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Ran Tavory <ran...@gmail.com>
Subject Re: Thrift vs. Hector
Date Tue, 27 Apr 2010 10:01:52 GMT
Hi David, I have a few questions (and answers), see inline

On Tue, Apr 27, 2010 at 12:49 PM, David Boxenhorn <david@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 (...)
>
>
>
>
>

Mime
View raw message