Return-Path: Delivered-To: apmail-cassandra-user-archive@www.apache.org Received: (qmail 70644 invoked from network); 26 Jun 2010 13:58:34 -0000 Received: from unknown (HELO mail.apache.org) (140.211.11.3) by 140.211.11.9 with SMTP; 26 Jun 2010 13:58:34 -0000 Received: (qmail 52770 invoked by uid 500); 26 Jun 2010 13:58:33 -0000 Delivered-To: apmail-cassandra-user-archive@cassandra.apache.org Received: (qmail 52720 invoked by uid 500); 26 Jun 2010 13:58:32 -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 52712 invoked by uid 99); 26 Jun 2010 13:58:32 -0000 Received: from nike.apache.org (HELO nike.apache.org) (192.87.106.230) by apache.org (qpsmtpd/0.29) with ESMTP; Sat, 26 Jun 2010 13:58:32 +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 gavan.hood@gmail.com designates 209.85.212.172 as permitted sender) Received: from [209.85.212.172] (HELO mail-px0-f172.google.com) (209.85.212.172) by apache.org (qpsmtpd/0.29) with ESMTP; Sat, 26 Jun 2010 13:58:26 +0000 Received: by pxi16 with SMTP id 16so534670pxi.31 for ; Sat, 26 Jun 2010 06:58:04 -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:content-type; bh=ct3boaV6SDAFqepmtb8lPcpdFavmWgzbnPqiZy6zDfM=; b=dCFpsw+AVsSTBqBb2N8OvnjRNLeHu68x3bmS7ohbVrYq5HfvSkfZiPAYspClC/jHav 51PIw4Fay7VCow3yFBjRS1pwreuds9qhpOa74ulZ2an3cXWXB9ivUjFL/RC0RdlYcn5g Sxbp3VbJyc72u4qqUobTabUi5JmAvz94Jr7HQ= 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 :content-type; b=F9qA4J1uQztWkPVyRluv6v76k4nEVLNWqZwQuQEqcUe8uKYqzltCjlCOQ2PZvs1Joc eGFTImYi+e2vXdu72xNlfjcKQGcOml4ongaMf7ph1vr51KICZvuzmc03cYgjlYvo1rUN h+HUjH4HkS6gf/eIITFBgOpeO69B+RCmGDC8s= MIME-Version: 1.0 Received: by 10.115.85.40 with SMTP id n40mr2489109wal.229.1277560683808; Sat, 26 Jun 2010 06:58:03 -0700 (PDT) Received: by 10.114.173.13 with HTTP; Sat, 26 Jun 2010 06:58:03 -0700 (PDT) In-Reply-To: References: Date: Sat, 26 Jun 2010 23:58:03 +1000 Message-ID: Subject: Re: Call for input of cassandra, thrift , hector, pelops example / sample / test code snippets From: GH To: user@cassandra.apache.org Content-Type: multipart/alternative; boundary=0016e64cb41ebcc6820489ef4604 X-Virus-Checked: Checked by ClamAV on apache.org --0016e64cb41ebcc6820489ef4604 Content-Type: text/plain; charset=windows-1252 Content-Transfer-Encoding: quoted-printable I believe that the code I grabbed from git is later than the latest downloa= d published on there then. Where would I find that code ? is it available to public (aka me :-) ), if not when would that be. If its a way off, i think I need a version of git that matches the released code base. On Sat, Jun 26, 2010 at 11:42 PM, Ran Tavory wrote: > these classes are from a newer version and they should not exist in versi= on > 14. > > > On Fri, Jun 25, 2010 at 3:42 PM, Gavan Hood wrote: > >> Hi Ran, >> >> I downloaded the git code, I think I have something up with my versionin= g, >> i have the latest build 0.6.0.14 of hector and the git download, i have = a >> bunch of classes that do not appear to resolve, some of them are: * >> >> KeyspaceOperatorFactory >> ** >> >> ClusterFactory >> *Cluster >> >> Are these classes from a newer or older version of hector maybe, or am I >> missing some step ? >> >> Regards >> Gavan >> >> On Thu, Jun 24, 2010 at 11:09 PM, Ran Tavory wrote: >> >>> Thanks for this effort Gavan :) >>> >>> On Thu, Jun 24, 2010 at 3:47 PM, Gavan Hood wrot= e: >>> >>>> Thanks Ran, >>>> I downloaded those, >>>> ReadAllKeys worked straight up, very good example, I have already got >>>> ExampleClient working so ditto there :-) >>>> I am searching for the defintion of Command in ExampleDAO >>>> getallkey slices and keyspace test have a few more unresolved external= s >>>> like junit, mockito and other items. >>>> I tried downloading the code stack fom git but I am not sure that was = a >>>> good idea, but it did have some of the files in that download. >>>> >>> if you use git that should be straight forward, many developers have do= ne >>> that already. If you just downloaded one of the released versions then = lmk >>> if I forgot to include one dependency or another... >>> >>>> >>>> I noticed a file IterateOverKeysOnly.java on the site too, but that ha= s >>>> some issues, some undefined KeySpace entries and other syntax errors. >>>> >>> It was contributed by another developer so I don't know. >>> >>>> >>>> Gavan >>>> On Thu, Jun 24, 2010 at 10:18 PM, Ran Tavory wrote= : >>>> >>>>> Here's what we have for hector: >>>>> >>>>> wiki: http://wiki.github.com/rantav/hector/ >>>>> blog posts: >>>>> http://prettyprint.me/2010/02/23/hector-a-java-cassandra-client/ >>>>> http://prettyprint.me/2010/03/03/load-balancing-and-improved-failover= -in-hector/ >>>>> http://prettyprint.me/2010/04/03/jmx-in-hector/ >>>>> >>>>> Examples: >>>>> Example >>>>> DAO >>>>> Example >>>>> simple client >>>>> Example >>>>> read all keys >>>>> get >>>>> all key slices for=85 in groups >>>>> and KeyspaceTest >>>>> >>>>> >>>>> On Thu, Jun 24, 2010 at 1:45 AM, Gavan Hood wro= te: >>>>> >>>>>> Hi all, >>>>>> >>>>>> I have been researching the samples with some success but its taken = a >>>>>> while. I am very keen on Cassandra and love the work thats been done= , well >>>>>> done everyone involved. >>>>>> >>>>>> I would like to get as many of the samples I can get organized into >>>>>> something that makes it easier to kick of with for people taking the= road I >>>>>> am on. >>>>>> >>>>>> If people on this list have code snippets, full example apps, test >>>>>> apps, API test functions etc I would like to hear about them please.= My work >>>>>> is in Java so I really want to see those, the others are still of hi= gh >>>>>> interest as I will post them all out as I mention below. >>>>>> >>>>>> Ideally I would like to get a small test container set up to allow >>>>>> people to poke and prod API's and see what happens, but like most of= us time >>>>>> is the challenge. If I do not get that far I would at least post >>>>>> the findings to page(s) that people can continue to add to, maybe i= f >>>>>> successful it could then be consumed back into the apachi wiki... >>>>>> >>>>>> If someone has already done this I would love to see the site. >>>>>> >>>>>> Let me know your thoughts, and better yet show me the code :-) >>>>>> >>>>>> Regards >>>>>> Gavan >>>>>> >>>>> >>>>> >>>> >>> >> > --0016e64cb41ebcc6820489ef4604 Content-Type: text/html; charset=windows-1252 Content-Transfer-Encoding: quoted-printable
I believe that the code I grabbed from git is later than the latest do= wnload published on there then.
=A0
Where would I find that code ? is it available to public (aka me :-) )= , if not when would that be.
If its a way off, i think I need a version of git that matches the rel= eased code base.

On Sat, Jun 26, 2010 at 11:42 PM, Ran Tavory <rantav@gmail.com= > wrote:
these classes are from a newer version and they should not= exist in version 14.=20


On Fri, Jun 25, 2010 at 3:42 PM, Gavan Hood <gavan.hood@gmail.com> wrote:
Hi Ran,
=A0
I downloaded the git code, I think I have something up with my version= ing, i have the latest build 0.6.0.14 of hector and the git download, i hav= e a bunch of classes that do not appear to resolve,=A0some of them=A0are: <= u>

KeyspaceOperatorFactory

ClusterFactory

Cluster

Are these classes from a new= er or older version of hector maybe, or am I missing some step ?
=A0
Regards
Gavan
=A0
On Thu, Jun 24, 2010 at 11:09 PM, Ran Tavory <ra= ntav@gmail.com> wrote:
Thanks for this effort Gavan :)

On Thu, Jun 24, 2010 at 3:47 PM, Gavan Hood <gavan.hood@gmail.com<= /a>> wrote:
Thanks Ran,
I downloaded those,
ReadAllKeys worked straight up, very good example, I have already got = ExampleClient working so ditto there :-)
I am searching for the defintion of Command<void> in ExampleDAO<= /div>
getallkey slices and keyspace test have a few more unresolved external= s like junit, mockito and other items.
I tried downloading the code stack fom git but I am not sure that was = a good idea, but it did have some of the files in that download.
if you use git that should be straight forward, many developers have d= one that already. If you just downloaded one of the released versions then = lmk if I forgot to include one dependency or another...=A0
=A0
I noticed a file IterateOverKeysOnly.java on the site too, but that ha= s some issues, some undefined KeySpace entries and other syntax errors.
It was contributed by another developer so I don't know.=A0

Gavan
On Thu, Jun 24, 2010 at 10:18 PM, Ran Tavory <ra= ntav@gmail.com> wrote:
Here's what we have for hector:=20


Examples:=A0
get all key slices for=85 in groups<= /div>
and=A0KeyspaceTest=


On Thu, Jun 24, 2010 at 1:45 AM, Gavan Hood <gavan.hood@gmail.com> wrote:
Hi all,
=A0
I have been researching the samples with some success but its taken a = while. I am very keen on Cassandra and love the work thats been done, well = done everyone involved.
=A0
I would=A0like to get as many=A0of the samples I can get=A0organized i= nto something that makes it easier to kick of with for people taking the ro= ad I am on.
=A0
If people on this list have code snippets, full example apps, test app= s, API test functions etc=A0I=A0would like to hear about them please. My wo= rk is in Java so I really want to see those, the others are still of high i= nterest as I will post them all out as I mention below.
=A0
Ideally I would like to get a small test container set up to allow peo= ple to poke and prod API's and see what happens, but=A0like most of us = time is the challenge. If I do not get that far I would at least post the= =A0findings=A0to page(s) =A0that people can continue to add to, maybe if su= ccessful it could then be consumed back into the apachi wiki...
=A0
If someone has already done this I would love to see the site.
=A0
Let me know your thoughts, =A0and better yet show me the code :-)
=A0
Regards
Gavan






--0016e64cb41ebcc6820489ef4604--