Return-Path: Delivered-To: apmail-cassandra-user-archive@www.apache.org Received: (qmail 84030 invoked from network); 27 Apr 2010 10:23:22 -0000 Received: from unknown (HELO mail.apache.org) (140.211.11.3) by 140.211.11.9 with SMTP; 27 Apr 2010 10:23:22 -0000 Received: (qmail 67849 invoked by uid 500); 27 Apr 2010 10:23:21 -0000 Delivered-To: apmail-cassandra-user-archive@cassandra.apache.org Received: (qmail 67749 invoked by uid 500); 27 Apr 2010 10:23:19 -0000 Mailing-List: contact user-help@cassandra.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: user@cassandra.apache.org Delivered-To: mailing list user@cassandra.apache.org Received: (qmail 67542 invoked by uid 99); 27 Apr 2010 10:23:18 -0000 Received: from nike.apache.org (HELO nike.apache.org) (192.87.106.230) by apache.org (qpsmtpd/0.29) with ESMTP; Tue, 27 Apr 2010 10:23:18 +0000 X-ASF-Spam-Status: No, hits=2.2 required=10.0 tests=FREEMAIL_FROM,HTML_MESSAGE,RCVD_IN_DNSWL_NONE,SPF_PASS,T_TO_NO_BRKTS_FREEMAIL X-Spam-Check-By: apache.org Received-SPF: pass (nike.apache.org: domain of rantav@gmail.com designates 209.85.223.171 as permitted sender) Received: from [209.85.223.171] (HELO mail-iw0-f171.google.com) (209.85.223.171) by apache.org (qpsmtpd/0.29) with ESMTP; Tue, 27 Apr 2010 10:23:11 +0000 Received: by iwn1 with SMTP id 1so9809050iwn.27 for ; Tue, 27 Apr 2010 03:22:50 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:mime-version:received:received:in-reply-to :references:date:message-id:subject:from:to:cc:content-type; bh=L1GMciVPcIJr4qrseMjzC1CjcPDphOKyklY0dH09iXE=; b=D9zAD4VH8CyDKOonGggUaVQQ4QMASEbon1whSem1p7sX+KYcC3FucafqvMDM5IdruL ULPwI7ourWqo+v/3+jZ/XqVYF/wdQJh4EUYb3sJzx/SsLSNLKpfZ8JmIDB/sEqBAber7 J+V5JKQl3ZlUOozo8gH43F7QB2MUI199iQMNU= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=mime-version:in-reply-to:references:date:message-id:subject:from:to :cc:content-type; b=nI+k4mxwLBFJMXOOx136OYhyvQSy+AMOXUBI3ugRWPCQ8X95m7MoiyImQW3DQYYIkU 3XVSIGfJXgv9qZFqYOlUeg/po583Ls6e9JA2HNzhR7pbAvyjGFTqQd2dMX6r0/ErZu5n pVMrUMfg6BXNwr/42XA2++Aa2Lj5sJ5XCynbQ= MIME-Version: 1.0 Received: by 10.231.159.134 with SMTP id j6mr1805337ibx.29.1272363769976; Tue, 27 Apr 2010 03:22:49 -0700 (PDT) Received: by 10.231.147.13 with HTTP; Tue, 27 Apr 2010 03:22:49 -0700 (PDT) In-Reply-To: References: Date: Tue, 27 Apr 2010 13:22:49 +0300 Message-ID: Subject: Re: Thrift vs. Hector From: Ran Tavory To: hector-users@googlegroups.com Cc: user@cassandra.apache.org Content-Type: multipart/alternative; boundary=001636c5c1df88d90604853546e3 X-Virus-Checked: Checked by ClamAV on apache.org --001636c5c1df88d90604853546e3 Content-Type: text/plain; charset=UTF-8 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/ 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 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 wrote: > >> Hi David, I have a few questions (and answers), see inline >> >> On Tue, Apr 27, 2010 at 12:49 PM, David Boxenhorn 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 >>> >>> (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 >>> >>> (...) >>> >>> 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 >>> >>> (...) >>> >>> 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 >>> >>> (...) >>> >>> 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 >>> >>> (...) >>> >>> 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 >>> >>> (...) >>> >>> 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 >>> >>> (...) >>> >>> 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 >>> >>> (...) >>> >>> 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 >>> >>> (...) >>> >>> 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 >>> >>> (...) >>> >>> 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 >>> >>> (...) >>> >>> 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 >>> >>> (...) >>> >>> 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 (...) >>> >>> >>> >>> >>> >> >> > --001636c5c1df88d90604853546e3 Content-Type: text/html; charset=UTF-8 Content-Transfer-Encoding: quoted-printable
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=C2=A0http://wiki= .github.com/rantav/hector/
And for thrift, at le= ase the parts I know of:=C2=A0http://wiki.apache.org/cassandra/ThriftExamples but you = should look at=C2=A0http://wik= i.apache.org/cassandra there might be more

On Tue, Apr 27, 2010 at 1:07 PM, Swaroop Jay= anthi <swaroopj@= gmail.com> wrote:
Hi Ran,

Where is the online help or documentation with few examples =
(similar thrift=C2=A0 -. Is there any good documentation for working wi= th Thrift and/or=20 Hector???
here it is) for hector, please provide the link.
Thanks
Swaroop


On Tue, Apr 27, 2010 at 3:31 PM,= Ran Tavory <rantav@gmail.com> wrote:
Hi Dav= id, I have a few questions (and answers), see inline

On Tue, Apr 27, 2010 at 12:49 PM, David Boxenhorn <david@lookin2.com&g= t; wrote:
H= i all,
=C2=A0
I'm trying to install a Cassandra=C2=A0development environment for= Java. It is much harder than I thought it would be!!!!
=C2=A0
I got Cassandra up and running with the CLI. So now I'm trying to = get the Java interface up.
=C2=A0
Thrift is installed, supposedly.
Installe= d? What did you install?=C2=A0
To use cassandra from the client s= ide you only need some jars (cassandra jar, and thrift jar iirc). No need t= o install something.
=C2=A0
=C2=A0
Basic questions (thanks in advance):
=C2=A0
1. Is it easier to get Thrift or Hector up? I just want to get SOMETHI= NG 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.
2. Do I need Thrift for Hector?
=C2=A0
3. Is there any good documentation for working with Thrift and/or Hect= or???
here it is ;)=C2=A0
4. I tried to use Hector and I'm getting the following, does anyon= e know what it means?
What program spits out t= his 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 fro= m here http://github.com/downloads/rantav/hector/hector-0.= 6.0-11.zip
If you do with to compile, both ant and mvn work.=C2=A0
=C2=A0

4/27/10 10:56:52 AM IDT: Can't find artifact for C:\C= assandra\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:\C= assandra\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:\C= assandra\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:\C= assandra\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:\C= assandra\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:\C= assandra\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:\C= assandra\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:\C= assandra\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:\C= assandra\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:\C= assandra\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:\C= assandra\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:\C= assandra\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 (...)

=C2=A0
=C2=A0
=C2=A0
=C2=A0



--001636c5c1df88d90604853546e3--