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: Embedded Cassandra for Integration testing
Date Sun, 14 Mar 2010 21:02:23 GMT
I have a writeup just for that from a while ago
http://prettyprint.me/2010/02/14/running-cassandra-as-an-embedded-service/
This addresses version 0.5.0, not 0.6 but I believe the diff isn't that big.
And as mentioned, you may also browse hector to get the list of
dependencies. Please also see
http://github.com/rantav/hector/blob/master/src/test/java/me/prettyprint/cassandra/testutils/EmbeddedServerHelper.java

On Sun, Mar 14, 2010 at 7:20 PM, Ryan Daum <ryan@thimbleware.com> wrote:

> Thanks Tom; I am working with 0.6 beta2 now, so not immediately applicable,
> but this is helpful.
>
> Maybe we ought to consider taking what you've done and putting it up in a
> generic way accessible on a public repo.
>
> R
>
>
> On Sun, Mar 14, 2010 at 2:16 PM, Tom Chen <tom@gogii.net> wrote:
>
>> Hi Ryan,
>>
>> I have been running some tests locally, and I've been using.
>>
>> http://github.com/rantav/hector
>>
>> If you look at the pom.xml you can get a pretty good idea of the
>> dependencies required to run a cassandra client for version 5. I usually
>> combine it with the maven one jar to create one jar file required for my
>> testing. Note hector has not been upgraded to v6.
>>
>> For version 6, I suspect that we can yank the dependences out the
>> ant/pom.xml file to determine the runtime jars needed.
>>
>>
>> Tom
>>
>>  <http://github.com/rantav/hector>
>>
>> On Sun, Mar 14, 2010 at 11:08 AM, Ryan Daum <ryan@thimbleware.com> wrote:
>>
>>> I know people have been successful embedding Cassandra, and I've seen
>>> code for how to bootstrap it, but I'm wondering what people have done to
>>> manage its 3rd party dependencies at build time? Especially for Maven
>>> projects, Cassandra is highly uncooperative as a dependency, as many of its
>>> 3rd party dependencies have no Maven repository source, and the Cassandra
>>> POM has been orphaned.
>>>
>>> R
>>>
>>>
>>
>>
>> --
>> Tom Chen
>> Software Architect
>> GOGII, Inc
>> tom@gogii.net
>> 650-468-6318
>>
>
>

Mime
View raw message