You are viewing a plain text version of this content. The canonical link for it is here.
Posted to user@cassandra.apache.org by David Boxenhorn <da...@lookin2.com> on 2010/04/27 11:49:08 UTC

Thrift vs. Hector

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.

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.
2. Do I need Thrift for Hector?
3. Is there any good documentation for working with Thrift and/or Hector???
4. I tried to use Hector and I'm getting the following, does anyone know
what it means?


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 (...)

Re: Thrift vs. Hector

Posted by Ran Tavory <ra...@gmail.com>.
On Tue, Apr 27, 2010 at 1:14 PM, David Boxenhorn <da...@lookin2.com> wrote:

> Thanks, Ran. Very nice to meet you!
>
:)

>
> Responses inline. Summary: I downloaded and unzipped Thrift and Hector. I
> included them in my project. What do I do now?
> On Tue, Apr 27, 2010 at 1:01 PM, Ran Tavory <ra...@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.
>>
>>
>
> I downloaded the Thrift and Hector jars and unzipped them. Do I have to do
> anything else? There's like a gazillion classes there, which are the top
> level classes that I care about?
>
If you work with an IDE you'll need to add the jars to your project's
classpath. With hector you'll need to unzip and add those:
apache-cassandra-0.6.0.jar   commons-codec-1.4.jar
 hector-0.6.0-11-sources.jar  libthrift-r917130.jar
 slf4j-api-1.5.8.jar
cassandra-javautils.jar      commons-pool-1.5.3.jar
hector-0.6.0-11.jar          log4j-1.2.14.jar
slf4j-log4j12-1.5.8.jar
clhm-production.jar          google-collections-1.0.jar   high-scale-lib.jar
          perf4j-0.9.12.jar
(half of them are only use for unit-tests, so they won't actually be loaded.
I have to clean up this mess a little bit...)

The fact that you're speaking in "classes" worries me. you should be
speaking in jars ;)

>
>
>>
>>> 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
>>
>>
>
> I don't mind downloading another jar. In fact, my first try is with Hector
> - I was hoping that it would be an easier API.
>
If you need something fast and dirty then just copy-paste the code from the
apache wiki.
If you want to develop an application that live more than one day and has
some nice management and scaling features I'd suggest hector.

>
>
>>    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
>>
>
>
> Done.
>
Sorry, in hector there's no lib folder, all jars are at the top-level

>
>
>>
>>
>>>  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.
>>
>
> Yes, it's Maven (I think). So what do I do?
>
It boils down to the question of are you using an IDE to test and run? If
yes, you can forget about maven, this is the easiest usually. If you do want
to use maven to compile and run then that's also possible (that's what I do)
but you'll have to do some maven magic for that by adding the jars to the
system scope.

>
>

>
>>  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
>>
>
> Done.
>
>
>>  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 (...)
>>>
>>>
>>>
>>>
>>>
>>
>>
>

Re: Thrift vs. Hector

Posted by David Boxenhorn <da...@lookin2.com>.
Thanks, Ran. Very nice to meet you!

Responses inline. Summary: I downloaded and unzipped Thrift and Hector. I
included them in my project. What do I do now?
On Tue, Apr 27, 2010 at 1:01 PM, Ran Tavory <ra...@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.
>
>

I downloaded the Thrift and Hector jars and unzipped them. Do I have to do
anything else? There's like a gazillion classes there, which are the top
level classes that I care about?


>
>> 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
>
>

I don't mind downloading another jar. In fact, my first try is with Hector -
I was hoping that it would be an easier API.


>    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
>


Done.


>
>
>>  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.
>

Yes, it's Maven (I think). So what do I do?


>  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
>

Done.


>  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 (...)
>>
>>
>>
>>
>>
>
>

Re: Thrift vs. Hector

Posted by David Boxenhorn <da...@lookin2.com>.
Thanks for all your help, Ran! (I'll probably be needing more, later...)

On Tue, Apr 27, 2010 at 2:28 PM, Ran Tavory <ra...@gmail.com> wrote:

> if you're speaking of an eclipse thrift project, then I don't think you
> need one, no.
>
>
> On Tue, Apr 27, 2010 at 2:14 PM, David Boxenhorn <da...@lookin2.com>wrote:
>
>> So I should get rid of my Thrift project?
>>
>>
>> On Tue, Apr 27, 2010 at 2:11 PM, Ran Tavory <ra...@gmail.com> wrote:
>>
>>> It includes thrift, yes.
>>> You need cassandra as well (the jar includes both client and server code)
>>>
>>>  On Apr 27, 2010 2:03 PM, "David Boxenhorn" <da...@lookin2.com> wrote:
>>>
>>>  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 <ra...@gmail.com> wrote:
>>> >
>>> > good link, thanks, can I g...
>>>
>>>
>>
>

Re: Thrift vs. Hector

Posted by Ran Tavory <ra...@gmail.com>.
if you're speaking of an eclipse thrift project, then I don't think you need
one, no.

On Tue, Apr 27, 2010 at 2:14 PM, David Boxenhorn <da...@lookin2.com> wrote:

> So I should get rid of my Thrift project?
>
>
> On Tue, Apr 27, 2010 at 2:11 PM, Ran Tavory <ra...@gmail.com> wrote:
>
>> It includes thrift, yes.
>> You need cassandra as well (the jar includes both client and server code)
>>
>>  On Apr 27, 2010 2:03 PM, "David Boxenhorn" <da...@lookin2.com> wrote:
>>
>>  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 <ra...@gmail.com> wrote:
>> >
>> > good link, thanks, can I g...
>>
>>
>

Re: Thrift vs. Hector

Posted by David Boxenhorn <da...@lookin2.com>.
So I should get rid of my Thrift project?

On Tue, Apr 27, 2010 at 2:11 PM, Ran Tavory <ra...@gmail.com> wrote:

> It includes thrift, yes.
> You need cassandra as well (the jar includes both client and server code)
>
>  On Apr 27, 2010 2:03 PM, "David Boxenhorn" <da...@lookin2.com> wrote:
>
>  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 <ra...@gmail.com> wrote:
> >
> > good link, thanks, can I g...
>
>

Re: Thrift vs. Hector

Posted by Ran Tavory <ra...@gmail.com>.
It includes thrift, yes.
You need cassandra as well (the jar includes both client and server code)

On Apr 27, 2010 2:03 PM, "David Boxenhorn" <da...@lookin2.com> wrote:

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 <ra...@gmail.com> wrote:
>
> good link, thanks, can I g...

Re: Thrift vs. Hector

Posted by David Boxenhorn <da...@lookin2.com>.
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 <ra...@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 <sw...@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 <ra...@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 <sw...@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 <ra...@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 (...)
>>>>>>
>>>>>>
>>>>>>
>>>>>>
>>>>>>
>>>>>
>>>>>
>>>>
>>>
>>
>

Re: Thrift vs. Hector

Posted by Ran Tavory <ra...@gmail.com>.
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 <sw...@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 <ra...@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 <sw...@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 <ra...@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 (...)
>>>>>
>>>>>
>>>>>
>>>>>
>>>>>
>>>>
>>>>
>>>
>>
>

Re: Thrift vs. Hector

Posted by Ran Tavory <ra...@gmail.com>.
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 <sw...@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 <ra...@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 (...)
>>>
>>>
>>>
>>>
>>>
>>
>>
>

Re: Thrift vs. Hector

Posted by Ran Tavory <ra...@gmail.com>.
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 (...)
>
>
>
>
>