Return-Path: X-Original-To: apmail-cassandra-user-archive@www.apache.org Delivered-To: apmail-cassandra-user-archive@www.apache.org Received: from mail.apache.org (hermes.apache.org [140.211.11.3]) by minotaur.apache.org (Postfix) with SMTP id 14CCC9BCE for ; Fri, 2 Dec 2011 03:10:25 +0000 (UTC) Received: (qmail 52955 invoked by uid 500); 2 Dec 2011 03:10:22 -0000 Delivered-To: apmail-cassandra-user-archive@cassandra.apache.org Received: (qmail 52912 invoked by uid 500); 2 Dec 2011 03:10:22 -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 52869 invoked by uid 99); 2 Dec 2011 03:10:20 -0000 Received: from nike.apache.org (HELO nike.apache.org) (192.87.106.230) by apache.org (qpsmtpd/0.29) with ESMTP; Fri, 02 Dec 2011 03:10:20 +0000 X-ASF-Spam-Status: No, hits=2.2 required=5.0 tests=HTML_MESSAGE,SPF_PASS X-Spam-Check-By: apache.org Received-SPF: pass (nike.apache.org: local policy) Received: from [64.13.192.27] (HELO cl18.gs01.gridserver.com) (64.13.192.27) by apache.org (qpsmtpd/0.29) with ESMTP; Fri, 02 Dec 2011 03:10:13 +0000 Received: from adsl-76-246-52-58.dsl.scrm01.sbcglobal.net ([76.246.52.58]:17163 helo=[192.168.1.217]) by cl18.gs01.gridserver.com with esmtpsa (TLS-1.0:DHE_RSA_AES_256_CBC_SHA:32) (Exim 4.69) (envelope-from ) id 1RWJVX-0008Ga-2S for user@cassandra.apache.org; Thu, 01 Dec 2011 19:09:51 -0800 Message-ID: <4ED8415C.7060604@syncopated.net> Date: Thu, 01 Dec 2011 19:09:16 -0800 From: Deno Vichas User-Agent: Mozilla/5.0 (Windows NT 6.1; WOW64; rv:8.0) Gecko/20111105 Thunderbird/8.0 MIME-Version: 1.0 To: user@cassandra.apache.org Subject: Re: is there a "no disk storage" mode ? References: <1482_1322757398_4ED7AD16_1482_3368_1_AEE40020481AB74EAADC798FC2BC7C4A01B0A980EAEA@THSONEA01CMS03P.one.grp> <4ED7DFEC.3010603@drillster.com> In-Reply-To: <4ED7DFEC.3010603@drillster.com> Content-Type: multipart/alternative; boundary="------------000302000405050503030309" X-Authenticated-User: 32415 deno@syncopated.net X-Spam-Level: X-Virus-Checked: Checked by ClamAV on apache.org X-Old-Spam-Status: "score=-0.4 tests=ALL_TRUSTED, HTML_MESSAGE version=3.1.7" This is a multi-part message in MIME format. --------------000302000405050503030309 Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit if you're in java land there's a maven plugin - http://mojo.codehaus.org/cassandra-maven-plugin/ On 12/1/2011 12:13 PM, Tom van den Berge wrote: > Hi Dominique, > > I don't think there is a way to run cassandra without disk storage. > But running it embedded can be very useful for unit testing. I'm using > cassandra-unit (https://github.com/jsevellec/cassandra-unit) to > integrate it in my tests. You don't need to configure any file paths; > it works fine out of the box. > > I've set it up to drop and recreate my keyspace before each test case, > and even then it performs quite good. > > Good luck, > Tom > > > On 12/1/11 5:36 PM, DE VITO Dominique wrote: >> >> Hi, >> >> I want to use Cassandra for (fast) unit testing with a small number >> of data. >> >> So, I imagined the Cassandra embedded server I plan to use would >> start faster and would be more portable (because no file path >> depending on OS), without disk storage mode (so, diskless if you want). >> >> Is there some "no disk storage mode" for Cassandra ? >> >> Thanks. >> >> Regards, >> >> Dominique >> > > --------------000302000405050503030309 Content-Type: text/html; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit if you're in java land there's a maven plugin - http://mojo.codehaus.org/cassandra-maven-plugin/


On 12/1/2011 12:13 PM, Tom van den Berge wrote:
Hi Dominique,

I don't think there is a way to run cassandra without disk storage. But running it embedded can be very useful for unit testing. I'm using cassandra-unit (https://github.com/jsevellec/cassandra-unit) to integrate it in my tests. You don't need to configure any file paths; it works fine out of the box.

I've set it up to drop and recreate my keyspace before each test case, and even then it performs quite good.

Good luck,
Tom


On 12/1/11 5:36 PM, DE VITO Dominique wrote:

Hi,

 

I want to use Cassandra for (fast) unit testing with a small number of data.

 

So, I imagined the Cassandra embedded server I plan to use would start faster and would be more portable (because no file path depending on OS), without disk storage mode (so, diskless if you want).

 

Is there some "no disk storage mode" for Cassandra ?

 

Thanks.

 

Regards,

Dominique

 




--------------000302000405050503030309--