Hi Jonas,

One more thing to add; if you are using Riak version 1.3.0 you'll also want
to remove the contents of the Active Anti Entropy directory in addition to
the contents of the backend directory, so a complete example for doing
so with Riak 1.3.0 using the Bitcask backend would look like this:

riak stop
sudo rm -rf /var/lib/riak/bitcask/*
sudo rm -rf /var/lib/riak/anti_entropy/*
riak start

Regards,

Brian Shumate


On Feb 28, 2013, at 3:47 AM, Jonas Lindmark wrote:

> I realize now that read_block_error, <<"0">> means that there was not an 
> error...
> 
> I still get problems when running my integration tests: 
> {insufficient_vnodes,0,need,2} status code 0
> 
> Could it be a timing issue where I start my integration tests too early after 
> 'riak start'?
> 
> 
> On 28 February 2013 08:55, Jonas Lindmark <[email protected]> wrote:
> Hi,
> 
> I'm looking for a way to manually wipe the data off of a single-node riak 
> installation. I'm using riak (1.3.0 2013-02-19) Debian x86_64 with the 
> riak_kv_eleveldb_backend.
> 
> What I'm currently doing is:
> 
>       • riak stop
>       • rm -rf /var/lib/riak
>       • mkdir riak
>       • chown riak:riak riak
>       • start riak
> Riak starts ok but a riak-admin vnode-status gives me:
> 
> Backend: riak_kv_eleveldb_backend
> Status: 
> [{stats,<<"                               Compactions\nLevel  Files Size(MB) 
> Time(sec) Read(MB) 
> Write(MB)\n--------------------------------------------------\n">>},
>  {read_block_error,<<"0">>}]
> 
> For each vnode.
> 
> It seems to me that there is something more I need to wipe for this to work 
> but I can't find which files that would be.
> 
> /Jonas
> 
> 
> 
> -- 
> /Jonas
> _______________________________________________
> riak-users mailing list
> [email protected]
> http://lists.basho.com/mailman/listinfo/riak-users_lists.basho.com


_______________________________________________
riak-users mailing list
[email protected]
http://lists.basho.com/mailman/listinfo/riak-users_lists.basho.com

Reply via email to