incubator-cassandra-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Ran Tavory <ran...@gmail.com>
Subject Re: Call for input of cassandra, thrift , hector, pelops example / sample / test code snippets
Date Sat, 26 Jun 2010 14:05:58 GMT
On Sat, Jun 26, 2010 at 4:58 PM, GH <gavan.hood@gmail.com> wrote:

> I believe that the code I grabbed from git is later than the latest
> download published on there then.
>
true. All the new classes you mentioned are new.

>
> 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.
>
Check out the branch which is currently at version 14
http://github.com/rantav/hector/tree/0.6.0 (or use the sources from the
packaged downloads section http://github.com/rantav/hector/downloads)

>
> 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.
>>
>>
>> On Fri, Jun 25, 2010 at 3:42 PM, Gavan Hood <gavan.hood@gmail.com> wrote:
>>
>>> Hi Ran,
>>>
>>> I downloaded the git code, I think I have something up with my
>>> versioning, 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 <rantav@gmail.com> wrote:
>>>
>>>> Thanks for this effort Gavan :)
>>>>
>>>>  On Thu, Jun 24, 2010 at 3:47 PM, Gavan Hood <gavan.hood@gmail.com>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
>>>>> getallkey slices and keyspace test have a few more unresolved externals
>>>>> 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
>>>> done 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 has
>>>>> 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 <rantav@gmail.com>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 <http://github.com/rantav/hector/blob/master/src/main/java/me/prettyprint/cassandra/dao/ExampleDao.java>
>>>>>> DAO<http://github.com/rantav/hector/blob/master/src/main/java/me/prettyprint/cassandra/dao/ExampleDao.java>
>>>>>> <http://github.com/rantav/hector/blob/master/src/main/java/me/prettyprint/cassandra/dao/ExampleDao.java>Example
>>>>>> simple client<http://github.com/rantav/hector/blob/master/src/main/java/me/prettyprint/cassandra/service/ExampleClient.java>
>>>>>> <http://github.com/rantav/hector/blob/master/src/main/java/me/prettyprint/cassandra/service/ExampleClient.java>Example
>>>>>> read all keys<http://github.com/bosyak/hector/blob/master/src/main/java/me/prettyprint/cassandra/examples/ExampleReadAllKeys.java>
>>>>>> <http://github.com/bosyak/hector/blob/master/src/main/java/me/prettyprint/cassandra/examples/ExampleReadAllKeys.java>get
>>>>>> all key slices for… in groups <http://pastie.org/957661>
>>>>>>  <http://pastie.org/957661>and KeyspaceTest<http://github.com/rantav/hector/blob/master/src/test/java/me/prettyprint/cassandra/service/KeyspaceTest.java>
>>>>>>
>>>>>>
>>>>>> On Thu, Jun 24, 2010 at 1:45 AM, Gavan Hood <gavan.hood@gmail.com>wrote:
>>>>>>
>>>>>>> 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 high
>>>>>>> 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 if
>>>>>>> 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
>>>>>>>
>>>>>>
>>>>>>
>>>>>
>>>>
>>>
>>
>

Mime
View raw message