cassandra-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From DuyHai Doan <doanduy...@gmail.com>
Subject Re: how to start a embed cassandra instance?
Date Wed, 13 Jul 2016 12:31:32 GMT
As for Achilles, no I start Cassandra in the same JVM. It is meant to be
used for testing purpose only. I also faced dependency issue with different
version of Guava so I excluded the Guava pulled by the Datastax Java driver
to use the one pulled by C* itself:
https://github.com/doanduyhai/Achilles/blob/master/achilles-embedded/pom.xml#L52-L55



On Wed, Jul 13, 2016 at 2:28 PM, Ken Hancock <ken.hancock@schange.com>
wrote:

> Do either cassandra-unit or Achilles fork Cassandra to a separate JVM?
> Guava libraries create a dependency hell with our current use of Hector's
> embedded server.  We're starting to migrate to the Datastax Java driver
> with yet another guava version.  I know Farsandra supports forking, so that
> was where I was thinking of going first.
>
>
>
>
> On Tue, Jul 12, 2016 at 9:37 AM, DuyHai Doan <doanduyhai@gmail.com> wrote:
>
>> If you're looking something similar to cassandra-unit with Apache 2
>> licence, there is a module in Achilles project that provides the same
>> thing:
>> https://github.com/doanduyhai/Achilles/wiki/CQL-embedded-cassandra-server
>>
>> On Tue, Jul 12, 2016 at 12:56 PM, Peddi, Praveen <peddi@amazon.com>
>> wrote:
>>
>>> We do something similar by starting CassandraDaemon class directly (you
>>> would need to provide a yaml file though). You can start and stop
>>> CassandraDaemon class from your unit test (typically @BeforeClass).
>>>
>>> Praveen
>>>
>>> On Jul 12, 2016, at 3:30 AM, Stone Fang <cnstonefang@gmail.com> wrote:
>>>
>>> Hi,
>>> how to start a embed cassandra instance?so we can do a unit test on
>>> local,dont need to start a
>>> cassandra server.
>>>
>>> https://github.com/jsevellec/cassandra-unit this project is good,but
>>> the license is not suitable.
>>> how do you achieve this?
>>>
>>> thanks in advance
>>>
>>> stone
>>>
>>>
>>
>
>
> --
> *Ken Hancock *| System Architect, Advanced Advertising
> SeaChange International
> 50 Nagog Park
> Acton, Massachusetts 01720
> ken.hancock@schange.com | www.schange.com | NASDAQ:SEAC
> <http://www.schange.com/en-US/Company/InvestorRelations.aspx>
> Office: +1 (978) 889-3329 | [image: Google Talk:] ken.hancock@schange.com
>  | [image: Skype:]hancockks | [image: Yahoo IM:]hancockks [image:
> LinkedIn] <http://www.linkedin.com/in/kenhancock>
>
> [image: SeaChange International]
> <http://www.schange.com/>
> This e-mail and any attachments may contain information which is SeaChange
> International confidential. The information enclosed is intended only for
> the addressees herein and may not be copied or forwarded without permission
> from SeaChange International.
>

Mime
View raw message