Return-Path: X-Original-To: archive-asf-public-internal@cust-asf2.ponee.io Delivered-To: archive-asf-public-internal@cust-asf2.ponee.io Received: from cust-asf.ponee.io (cust-asf.ponee.io [163.172.22.183]) by cust-asf2.ponee.io (Postfix) with ESMTP id 3B66B200B3C for ; Wed, 13 Jul 2016 14:28:40 +0200 (CEST) Received: by cust-asf.ponee.io (Postfix) id 3A209160A6E; Wed, 13 Jul 2016 12:28:40 +0000 (UTC) Delivered-To: archive-asf-public@cust-asf.ponee.io Received: from mail.apache.org (hermes.apache.org [140.211.11.3]) by cust-asf.ponee.io (Postfix) with SMTP id 5BEE3160A57 for ; Wed, 13 Jul 2016 14:28:39 +0200 (CEST) Received: (qmail 73652 invoked by uid 500); 13 Jul 2016 12:28:35 -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 73441 invoked by uid 99); 13 Jul 2016 12:28:35 -0000 Received: from pnap-us-west-generic-nat.apache.org (HELO spamd3-us-west.apache.org) (209.188.14.142) by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 13 Jul 2016 12:28:35 +0000 Received: from localhost (localhost [127.0.0.1]) by spamd3-us-west.apache.org (ASF Mail Server at spamd3-us-west.apache.org) with ESMTP id 099EF1804CC for ; Wed, 13 Jul 2016 12:28:35 +0000 (UTC) X-Virus-Scanned: Debian amavisd-new at spamd3-us-west.apache.org X-Spam-Flag: NO X-Spam-Score: 1.308 X-Spam-Level: * X-Spam-Status: No, score=1.308 tagged_above=-999 required=6.31 tests=[DKIM_SIGNED=0.1, DKIM_VALID=-0.1, HTML_MESSAGE=2, RCVD_IN_DNSWL_LOW=-0.7, RCVD_IN_MSPIKE_H2=-0.001, SPF_PASS=-0.001, T_REMOTE_IMAGE=0.01] autolearn=disabled Authentication-Results: spamd3-us-west.apache.org (amavisd-new); dkim=pass (2048-bit key) header.d=schange-com.20150623.gappssmtp.com Received: from mx2-lw-us.apache.org ([10.40.0.8]) by localhost (spamd3-us-west.apache.org [10.40.0.10]) (amavisd-new, port 10024) with ESMTP id G9wNMLl9INPA for ; Wed, 13 Jul 2016 12:28:32 +0000 (UTC) Received: from mail-qk0-f171.google.com (mail-qk0-f171.google.com [209.85.220.171]) by mx2-lw-us.apache.org (ASF Mail Server at mx2-lw-us.apache.org) with ESMTPS id 7005D5FB15 for ; Wed, 13 Jul 2016 12:28:32 +0000 (UTC) Received: by mail-qk0-f171.google.com with SMTP id o67so41627297qke.1 for ; Wed, 13 Jul 2016 05:28:32 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=schange-com.20150623.gappssmtp.com; s=20150623; h=mime-version:in-reply-to:references:from:date:message-id:subject:to; bh=OQDzzdYAA+6GM8dU5GzgHZq5CCucc2A8zHBUsvwo8hw=; b=Fch23o4a7V1wswPcnGLFd9ccHX3pdzjYwBJUKsVqU6wBT62NR1Nz5/E7zefEjAiuAJ wCorOTN7jVHpAKy87enShox4sZx78ikYOjZPRMk2gLUzM2SDq/hGREalv9JdiMbjiOFT 9Rd9BAb3/GIhIXTKKeaOH66hDtvG3YFrYuRcHfptW4Ush5b94jVLRYTGFdBOwYJt1w4k 94jSpNOSUqMyGWJ2Q9WfIxSk/hRKFciAeuzmr/4oQgS7jpbBK/OFfwFpOVsr9WTL9FUO aazhhbw2SyEW0a8VpeUXe8mJ9M9wI9UUM1SIypoH24LHR+45/tE1fR6qhU7Y73RhTtOx 676Q== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20130820; h=x-gm-message-state:mime-version:in-reply-to:references:from:date :message-id:subject:to; bh=OQDzzdYAA+6GM8dU5GzgHZq5CCucc2A8zHBUsvwo8hw=; b=iUAwvRuN2UqTung1PFnfa8so4wAMQ/olf4XzklQySZHVv2CS3RW9g2MNC8BceZldow QEm2gKAoDCL05X35plJckJ9rHYo9nfl40JRBZKPxAO/oiQFZOT6NBAEc87qMKouUOfOq U+tqXIDYskpAAh6mz83bR/7ft9TKYOyTQKFPZ6fNfZwgYKtVEnw9gj3baAmtOwnGfFSU VzBd1Wa0upCbC9qAjDNNIuaNewTGl50LJCSRpIC1Dd5vRbENU8kcvPChnFogmT/6Rfet zUBmRAnYRuQZMqVWL+rTrwlcy0CcMoEuir1XBxRhtxUicQr6SdXVCbAXVuBLcE/5aeng c2KA== X-Gm-Message-State: ALyK8tL0GJB/wR6/1w5ibmhG/HxLo1Vg47yvXZp4psKd6Fe4FU//AuVF3cNoHeuOJbouBq7MKmV+5tkMM0WPC/y+ X-Received: by 10.55.212.28 with SMTP id l28mr10316179qki.45.1468412911156; Wed, 13 Jul 2016 05:28:31 -0700 (PDT) MIME-Version: 1.0 Received: by 10.237.45.7 with HTTP; Wed, 13 Jul 2016 05:28:01 -0700 (PDT) In-Reply-To: References: <0D56DE6F-551D-4BFB-A708-87DA42F5591D@amazon.com> From: Ken Hancock Date: Wed, 13 Jul 2016 08:28:01 -0400 Message-ID: Subject: Re: how to start a embed cassandra instance? To: user@cassandra.apache.org Content-Type: multipart/alternative; boundary=001a1149c7fcf418140537838529 archived-at: Wed, 13 Jul 2016 12:28:40 -0000 --001a1149c7fcf418140537838529 Content-Type: text/plain; charset=UTF-8 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 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 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 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 Office: +1 (978) 889-3329 | [image: Google Talk:] ken.hancock@schange.com | [image: Skype:]hancockks | [image: Yahoo IM:]hancockks [image: LinkedIn] [image: SeaChange International] 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. --001a1149c7fcf418140537838529 Content-Type: text/html; charset=UTF-8 Content-Transfer-Encoding: quoted-printable
Do either cassandra-unit or=C2=A0Achilles fork Cassandra to a separate JVM?=C2=A0 Guava libraries cr= eate a dependency hell with our current use of Hector's embedded server= .=C2=A0 We're starting to migrate to the Datastax Java driver with yet = another guava version.=C2=A0 I know Farsandra supports forking, so that was= where I was thinking of going first.




On Tue, Jul 12, 2016 at 9:3= 7 AM, DuyHai Doan <doanduyhai@gmail.com> wrote:
If you're looking something s= imilar to cassandra-unit with Apache 2 licence, there is a module in Achill= es project that provides the same thing:=C2=A0= https://github.com/doanduyhai/Achilles/wiki/CQL-embedded-cassandra-server
=
On Tue, Jul 12, 2016 at 12:56 PM, Peddi, Pra= veen <peddi@amazon.com> wrote:
We do something similar by starting CassandraDaemon class directly (yo= u would need to provide a yaml file though). You can start and stop Cassand= raDaemon 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 lo= cal,dont need to start a
cassandra server.

https://github.com/jsevellec/cassandra-unit=C2=A0this project is go= od,but the license is not suitable.
how do you achieve this?

thanks in advance

stone





--
=
=
Ken Hancock=C2=A0= | System Architect, Advanced Advertising=C2=A0
SeaChange International=C2=A0
50 N= agog Park
Acton, Massachusetts 01720
ken.hancock@schange.com=C2=A0|=C2=A0www.schange.com=C2=A0| = NASDAQ:SEAC=C2=A0
Office: +1 (978) 889-3329=C2=A0|=C2= =A0=3D"Google=C2=A0ken.hancock@schange.com=C2=A0|=C2=A03D"Skype:"hancockks=C2= =A0|=C2=A03D"Yahoohancockks
3D"LinkedIn"

3D"SeaChange
This e-mail and any attachments may contain information which is S= eaChange International confidential. The information enclosed is intended o= nly for the addressees herein and may not be copied or forwarded without pe= rmission from SeaChange International.
--001a1149c7fcf418140537838529--