Re: how to start a embed cassandra instance?
Achilles is a good project.but it is heavy.actually i just need to 1.start/stop a embed standalone cassandra 2.start/stop a embed cassandra cluster. seems CassandraDaemon can just start a standalone,not cluster. On Wed, Jul 13, 2016 at 8:31 PM, DuyHai Doan <doanduy...@gmail.com> wrote: > 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.hanc...@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 <doanduy...@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 <pe...@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 <cnstonef...@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.hanc...@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.hanc...@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. >> > >
Re: how to start a embed cassandra instance?
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.hanc...@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 <doanduy...@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 <pe...@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 <cnstonef...@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.hanc...@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.hanc...@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. >
Re: how to start a embed cassandra instance?
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 <doanduy...@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 <pe...@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 <cnstonef...@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.hanc...@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.hanc...@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.
Re: how to start a embed cassandra instance?
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 <pe...@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 <cnstonef...@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 > >
Re: how to start a embed cassandra instance?
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 <cnstonef...@gmail.com<mailto:cnstonef...@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
how to start a embed cassandra instance?
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