actually in 0.6.0 I committed this to trunk:
http://svn.apache.org/repos/asf/cassandra/trunk/contrib/javautils/src/main/java/org/apache/cassandra/contrib/utils/service/CassandraServiceDataCleaner.java
So it's quite similar to what I you have in hector.
A few words of warning though:
- this wipes o
Take a look at EmbeddedServerHelper in the hector client for an
example of how this is managed through a test case:
http://github.com/rantav/hector/blob/master/src/test/java/me/prettyprint/cassandra/testutils/EmbeddedServerHelper.java
-Nate
On Wed, Mar 24, 2010 at 5:10 AM, Philip Jackson wrote:
The 2nd insert needs to have a timestamp higher than the remove.
On Wed, Mar 24, 2010 at 7:10 AM, Philip Jackson wrote:
> Hi,
>
> Just trying out Cassandra (0.5), looks great so far but I've got a
> question about removing data:
>
> For my test suite I would like to be able to build-up data in th
Hi,
Just trying out Cassandra (0.5), looks great so far but I've got a
question about removing data:
For my test suite I would like to be able to build-up data in the
database and then have the test framework tear it all back down
again. Trouble is, if I do a batch_insert, remove, batch_insert (o